Class: SbuilderSexp::Label
- Inherits:
-
Root
- Object
- Treetop::Runtime::SyntaxNode
- Root
- SbuilderSexp::Label
- Defined in:
- lib/parser/parser_nodes.rb
Overview
optional statement label
Instance Method Summary collapse
Methods inherited from Treetop::Runtime::SyntaxNode
#node_type, #recursive_inject, #recursive_inject_parent, #recursive_select, #value
Instance Method Details
#label ⇒ Object
1070 1071 1072 |
# File 'lib/parser/parser_nodes.rb', line 1070 def label recursive_select(SbuilderSexp::Identifier).first.node_value end |
#node_value ⇒ Object
1074 1075 1076 |
# File 'lib/parser/parser_nodes.rb', line 1074 def node_value label if respond_to?( :label ) end |