Class: Rubycc::Front::AST::Return
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Return
- Defined in:
- lib/rubycc/front/ast.rb
Overview
return <expr>;, or return; with expr nil (a void return).
Instance Attribute Summary collapse
-
#expr ⇒ Object
readonly
Returns the value of attribute expr.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Attribute Details
#expr ⇒ Object (readonly)
Returns the value of attribute expr
70 71 72 |
# File 'lib/rubycc/front/ast.rb', line 70 def expr @expr end |
#token ⇒ Object (readonly)
Returns the value of attribute token
70 71 72 |
# File 'lib/rubycc/front/ast.rb', line 70 def token @token end |