class SyntaxTree::Reflection::Node
This class represents one of our nodes in the tree. We’re going to use it as a placeholder for collecting all of the various places that nodes are used.
Attributes
Public Class Methods
Source
# File lib/syntax_tree/reflection.rb, line 143 def initialize(name, comment, attributes, visitor_method) @name = name @comment = comment @attributes = attributes @visitor_method = visitor_method end