Class: Vertigo::VarAssign
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(lhs = nil, rhs = nil) ⇒ VarAssign
constructor
A new instance of VarAssign.
Methods inherited from AstNode
Constructor Details
#initialize(lhs = nil, rhs = nil) ⇒ VarAssign
Returns a new instance of VarAssign.
218 219 220 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 218 def initialize lhs=nil,rhs=nil @lhs,@rhs=lhs,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
217 218 219 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 217 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
217 218 219 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 217 def rhs @rhs end |