Ruby syntaxtree: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
node-types all defined within [https://github.com/ruby-syntax-tree/syntax_tree/blob/main/lib/syntax_tree/node.rb node.rb] | node-types all defined within [https://github.com/ruby-syntax-tree/syntax_tree/blob/main/lib/syntax_tree/node.rb node.rb] | ||
= Documentation = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| github || https://github.com/ruby-syntax-tree/syntax_tree | |||
|- | |||
|} | |||
</blockquote><!-- Documentation --> | |||
Revision as of 23:26, 31 January 2024
a very fast ruby ast
node-types all defined within node.rb
Documentation
github https://github.com/ruby-syntax-tree/syntax_tree
stree search 'VarRef[value: Const[value: "MyModule"]]' **/*.rb
stree search 'ConstPathRef[VarRef[value: Const[value: "MyModule"]],Const[value: "MyClass"]]' **/*.rb