Class: Syntax::TreeSection
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Syntax::TreeSection
- Defined in:
- lib/silicon/routing/syntax/tree_section.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
3 4 5 |
# File 'lib/silicon/routing/syntax/tree_section.rb', line 3 def node @node end |
Instance Method Details
#parse ⇒ Object
5 6 7 8 9 |
# File 'lib/silicon/routing/syntax/tree_section.rb', line 5 def parse @node = elements[2].parse self end |