Class: SbuilderSexp::Goto
- Inherits:
-
UnlabeledStatement
- Object
- Treetop::Runtime::SyntaxNode
- Root
- Statement
- UnlabeledStatement
- SbuilderSexp::Goto
- Defined in:
- lib/parser/parser_nodes.rb
Instance Method Summary collapse
Methods inherited from UnlabeledStatement
Methods inherited from Statement
#find_labelnode, #get_statement, #node_value, #statement_label, #statement_val, #statements, #traverse
Methods inherited from Treetop::Runtime::SyntaxNode
#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value
Instance Method Details
#goto_label ⇒ Object
948 949 950 |
# File 'lib/parser/parser_nodes.rb', line 948 def goto_label recursive_select( SbuilderSexp::Identifier).map{ |r| r.node_value }.first end |