Class: TwoWaySQL::RootNode
Instance Method Summary collapse
- #accept(ctx) ⇒ Object
- #children ⇒ Object
-
#initialize(tree) ⇒ RootNode
constructor
A new instance of RootNode.
Constructor Details
#initialize(tree) ⇒ RootNode
Returns a new instance of RootNode.
91 92 93 |
# File 'lib/twowaysql/node.rb', line 91 def initialize(tree) @tree = tree end |
Instance Method Details
#accept(ctx) ⇒ Object
94 95 96 |
# File 'lib/twowaysql/node.rb', line 94 def accept(ctx) exec_list(@tree, ctx) end |
#children ⇒ Object
97 98 99 |
# File 'lib/twowaysql/node.rb', line 97 def children @tree end |