Class: SbuilderSexp::CompoundStatement

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

Instance Method Summary collapse

Methods inherited from UnlabeledStatement

#statement_label

Methods inherited from Statement

#find_labelnode, #get_statement, #node_value, #statement_label, #statement_val, #traverse

Methods inherited from Treetop::Runtime::SyntaxNode

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

Instance Method Details

#statementsObject



935
936
937
938
939
# File 'lib/parser/parser_nodes.rb', line 935

def statements
  stmts=recursive_select(SbuilderSexp::StatementList).first.recursive_select(SbuilderSexp::Statement)
  stmts

end