Class: SbuilderSexp::Recursive

Inherits:
Directive show all
Defined in:
lib/parser/parser_nodes.rb

Instance Method Summary collapse

Methods inherited from Directive

#directives

Methods inherited from Treetop::Runtime::SyntaxNode

#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value

Instance Method Details

#cardinalityObject



1103
1104
1105
# File 'lib/parser/parser_nodes.rb', line 1103

def cardinality
  directives.length - 1
end

#nameObject



1099
1100
1101
# File 'lib/parser/parser_nodes.rb', line 1099

def name
  directives.first
end