Class: Rubycc::Front::AST::Goto
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Goto
- Defined in:
- lib/rubycc/front/ast.rb
Overview
A goto identifier; jump (6.8.6.1). label is the target label's name.
The target may be defined anywhere in the same function, before or after
the goto; the generator resolves the name against a function-scoped label
table and diagnoses a jump to an undefined label at the function's end.
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label
304 305 306 |
# File 'lib/rubycc/front/ast.rb', line 304 def label @label end |
#token ⇒ Object (readonly)
Returns the value of attribute token
304 305 306 |
# File 'lib/rubycc/front/ast.rb', line 304 def token @token end |