Class: Rlang::Parser::WTree
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize ⇒ WTree
constructor
A new instance of WTree.
Constructor Details
#initialize ⇒ WTree
Returns a new instance of WTree.
14 15 16 |
# File 'lib/rlang/parser/wtree.rb', line 14 def initialize @root = WNode.new(:root) end |
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
12 13 14 |
# File 'lib/rlang/parser/wtree.rb', line 12 def root @root end |