Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Submit PR to parser gem to expose last line number on Parser::Source::Buffer #6

Open
floehopper opened this issue Aug 3, 2018 · 0 comments

Comments

@floehopper
Copy link
Member

From Further Work section of blog post:

At the moment the code delves rather too deeply into the innards of the parser gem i.e. it calls Parser::Source::Buffer#decompose_position to determine the last line number of the method definition. It would probably be better to submit a patch to the parser gem to make the last line available directly on Parser::Source::Buffer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant