Class: Rubycc::Front::AST::Assignment
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::Assignment
- Defined in:
- lib/rubycc/front/ast.rb
Overview
Simple assignment target = value. target is a VariableRef or a
dereference (Unary with op :deref); the parser rejects any other,
non-assignable target.
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target
227 228 229 |
# File 'lib/rubycc/front/ast.rb', line 227 def target @target end |
#token ⇒ Object (readonly)
Returns the value of attribute token
227 228 229 |
# File 'lib/rubycc/front/ast.rb', line 227 def token @token end |
#value ⇒ Object (readonly)
Returns the value of attribute value
227 228 229 |
# File 'lib/rubycc/front/ast.rb', line 227 def value @value end |