Class: SbuilderSexp::RecordDefinition

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

Instance Method Summary collapse

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_valObject

output during ‘AbstactExpression.traverse’



535
536
537
# File 'lib/parser/parser_nodes.rb', line 535

def expression_val
  "[]"
end

#record_fieldsRecordElement:Array

Returns of record field definitions.

Returns:

  • (RecordElement:Array)

    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