Class: Rubycc::Front::AST::Default
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Default
- Defined in:
- lib/rubycc/front/ast.rb
Overview
A default: statement label (6.8.1). body is the labeled statement.
Like Case it is only meaningful inside a switch, and at most one may
appear per switch.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
298 299 300 |
# File 'lib/rubycc/front/ast.rb', line 298 def body @body end |
#token ⇒ Object (readonly)
Returns the value of attribute token
298 299 300 |
# File 'lib/rubycc/front/ast.rb', line 298 def token @token end |