Class: Vertigo::Attributed
- 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) ⇒ Attributed
constructor
A new instance of Attributed.
Methods inherited from AstNode
Constructor Details
#initialize(lhs = nil, rhs = nil) ⇒ Attributed
Returns a new instance of Attributed.
505 506 507 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 505 def initialize lhs=nil,rhs=nil @lhs,@rhs=lhs,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
504 505 506 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 504 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
504 505 506 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 504 def rhs @rhs end |