We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
source()
It's hard to make a tree of source() calls statically because they might be conditional and the path might be a variable or a call.
However we can source and build a tree of source calls as we go.
It could be displayed a bit like lobster::ast(), the last shown path is the last that was entered.
lobster::ast()
To do this we need to override source().
Each call to source updates a tree object on entry. We need a behaviour on exit too so we can know our depth in the tree.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's hard to make a tree of
source()
calls statically because they might be conditional and the path might be a variable or a call.However we can source and build a tree of source calls as we go.
It could be displayed a bit like
lobster::ast()
, the last shown path is the last that was entered.To do this we need to override
source()
.Each call to source updates a tree object on entry. We need a behaviour on exit too so we can know our depth in the tree.
The text was updated successfully, but these errors were encountered: