gazayas / masamune-ast

A covenience wrapper around Prism, a Ruby source code parser
MIT License
13 stars 1 forks source link

Introduce Command node #46

Closed gazayas closed 1 year ago

gazayas commented 1 year ago

I decided to start adding the output from syntax_tree's CLI as comments, starting with the Command node. This will kind of serve as a documentation to see what each node contains so developers don't have to run the CLI each time they want to know about a specific node.

> stree expr code_example.rb