Class: Rlang::Parser::WTree

Inherits:
Object show all
Defined in:
lib/rlang/parser/wtree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWTree

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

#rootObject (readonly)

Returns the value of attribute root.



12
13
14
# File 'lib/rlang/parser/wtree.rb', line 12

def root
  @root
end