ruby-parser.js icon indicating copy to clipboard operation
ruby-parser.js copied to clipboard

Make lexer track lexeme locations

Open peter-leonov opened this issue 11 years ago • 0 comments

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.

peter-leonov avatar Jul 22 '13 13:07 peter-leonov