class SyntaxTree::JSONVisitor

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

Attributes

target[R]

Public Class Methods

new() click to toggle source
# File lib/syntax_tree/json_visitor.rb, line 11
def initialize
  @target = nil
end