Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Make lexer track lexeme locations #4

@peter-leonov

Description

@peter-leonov

The only module that needs locations is the source map generator. The source-map node module needs only the starting point of a lexeme in a [line, column] format, it is able to calculate the ending point itself on the final step of SM generation. So we can avoid all the ending logic to bloat our code.

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