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

Get the line/pos information from a ConfigObject #771

Open
k3rnL opened this issue Jun 27, 2022 · 1 comment
Open

Get the line/pos information from a ConfigObject #771

k3rnL opened this issue Jun 27, 2022 · 1 comment

Comments

@k3rnL
Copy link

k3rnL commented Jun 27, 2022

Is there a way to get the line/pos infomration from any config node ?

By digging a bit I saw a DoucmentParser that keeps the metadata from the parsing stage, but I don't see a way to get them.

thanks

@mikehearn
Copy link

Look at the ConfigOrigin object available via the origin() method.

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

No branches or pull requests

2 participants