Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for initial line/column values #107

Open
thorn0 opened this issue Mar 17, 2020 · 1 comment
Open

Options for initial line/column values #107

thorn0 opened this issue Mar 17, 2020 · 1 comment

Comments

@thorn0
Copy link

thorn0 commented Mar 17, 2020

Feature Use Case

When CSS values are parsed as part of CSS files, for AST consumers (e.g. code formatters), it is sometimes more convenient if the location data of all AST nodes is relative to the file, not to separate values.

Feature Proposal

Add parser options initialLine and initialColumn.

@shellscape
Copy link
Owner

I'd probably go with sourceLine and sourceColumn to give a better context. But nice idea that.

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

No branches or pull requests

2 participants