Class: SbuilderSexp::Recursive
- Inherits:
-
Directive
- Object
- Treetop::Runtime::SyntaxNode
- Root
- Directive
- SbuilderSexp::Recursive
- Defined in:
- lib/parser/parser_nodes.rb
Instance Method Summary collapse
Methods inherited from Directive
Methods inherited from Treetop::Runtime::SyntaxNode
#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value
Instance Method Details
#cardinality ⇒ Object
1103 1104 1105 |
# File 'lib/parser/parser_nodes.rb', line 1103 def cardinality directives.length - 1 end |
#name ⇒ Object
1099 1100 1101 |
# File 'lib/parser/parser_nodes.rb', line 1099 def name directives.first end |