class SyntaxTree::JSONVisitor
This visitor transforms the AST into a hash that contains only primitives that can be easily serialized into JSON.
This visitor transforms the AST into a hash that contains only primitives that can be easily serialized into JSON.