Class: SbuilderSexp::UnlabeledStatement
- Inherits:
-
Statement
- Object
- Treetop::Runtime::SyntaxNode
- Root
- Statement
- SbuilderSexp::UnlabeledStatement
- Defined in:
- lib/parser/parser_nodes.rb
Direct Known Subclasses
Assert, Assignment, Called, CompoundStatement, Conditional, Either, Goto, Print, Return, Skip, WithStatement
Instance Method Summary collapse
Methods inherited from Statement
#find_labelnode, #get_statement, #node_value, #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
#statement_label ⇒ Object
927 928 929 |
# File 'lib/parser/parser_nodes.rb', line 927 def statement_label labelnode = parent.statement_label if parent && parent.respond_to?(:statement_label) end |