Class: SbuilderSexp::OperatorDef
- Inherits:
-
Callable
- Object
- Treetop::Runtime::SyntaxNode
- Root
- Define
- Callable
- SbuilderSexp::OperatorDef
- Defined in:
- lib/parser/parser_nodes.rb
Instance Method Summary collapse
-
#body_node ⇒ Object
For operator no body:.
Methods inherited from Callable
#body, #declaration_definitions, #node_value, #parameter_definitions, #parameters, #parameters_node, #symbol_definitions
Methods inherited from Define
Methods inherited from Treetop::Runtime::SyntaxNode
#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value
Instance Method Details
#body_node ⇒ Object
For operator no body:
1207 1208 1209 1210 |
# File 'lib/parser/parser_nodes.rb', line 1207 def body_node tree_nodes = recursive_select(SbuilderSexp::Expression) return tree_nodes.first if tree_nodes end |