Skip to content

Parser events have offset, but not line number #52

@zmughal

Description

@zmughal

Is it possible to add the $token->{line} to parser events? I can extend the parser for now to work for most cases (will give an update if I notice anything missing).

My goal here is to have the loader maintain the location of YAML nodes alongside the constructed objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions