Class: SbuilderSexp::RecordDefinition
- Inherits:
-
AbstactExpression
- Object
- Treetop::Runtime::SyntaxNode
- Root
- AbstactExpression
- SbuilderSexp::RecordDefinition
- Defined in:
- lib/parser/parser_nodes.rb
Instance Method Summary collapse
-
#expression_val ⇒ Object
output during ‘AbstactExpression.traverse’.
-
#record_fields ⇒ RecordElement:Array
Of record field definitions.
Methods inherited from AbstactExpression
#expression_postfix, #expression_prefix, #expressions, #has_rhs, #lhs_node, #node_value, #rhs_node, #traverse
Methods inherited from Treetop::Runtime::SyntaxNode
#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value
Instance Method Details
#expression_val ⇒ Object
output during ‘AbstactExpression.traverse’
535 536 537 |
# File 'lib/parser/parser_nodes.rb', line 535 def expression_val "[]" end |
#record_fields ⇒ RecordElement:Array
Returns of record field definitions.
540 541 542 543 |
# File 'lib/parser/parser_nodes.rb', line 540 def record_fields ret = recursive_select( SbuilderSexp::RecordElement ) ret end |