Class: Vertigo::Concat

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(lhs = nil, rhs = nil) ⇒ Concat

Returns a new instance of Concat.



512
513
514
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 512

def initialize lhs=nil,rhs=nil
  @lhs,@rhs=lhs,rhs
end

Instance Attribute Details

#lhsObject

Returns the value of attribute lhs.



511
512
513
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 511

def lhs
  @lhs
end

#rhsObject

Returns the value of attribute rhs.



511
512
513
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 511

def rhs
  @rhs
end