Class: Vertigo::Sliced
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#dir ⇒ Object
Returns the value of attribute dir.
-
#expr ⇒ Object
Returns the value of attribute expr.
-
#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(expr = nil, lhs = nil, dir = nil, rhs = nil) ⇒ Sliced
constructor
A new instance of Sliced.
Methods inherited from AstNode
Constructor Details
#initialize(expr = nil, lhs = nil, dir = nil, rhs = nil) ⇒ Sliced
Returns a new instance of Sliced.
526 527 528 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 526 def initialize expr=nil,lhs=nil,dir=nil,rhs=nil @expr,@lhs,@dir,@rhs=expr,lhs,dir,rhs end |
Instance Attribute Details
#dir ⇒ Object
Returns the value of attribute dir.
525 526 527 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 525 def dir @dir end |
#expr ⇒ Object
Returns the value of attribute expr.
525 526 527 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 525 def expr @expr end |
#lhs ⇒ Object
Returns the value of attribute lhs.
525 526 527 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 525 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
525 526 527 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 525 def rhs @rhs end |