Class: Crokus::Dotted

Inherits:
Expr show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(l, r) ⇒ Dotted

Returns a new instance of Dotted.



394
395
396
# File 'lib/crokus/ast.rb', line 394

def initialize l,r
  @lhs,@rhs=l,r
end

Instance Attribute Details

#lhsObject

Returns the value of attribute lhs.



393
394
395
# File 'lib/crokus/ast.rb', line 393

def lhs
  @lhs
end

#rhsObject

Returns the value of attribute rhs.



393
394
395
# File 'lib/crokus/ast.rb', line 393

def rhs
  @rhs
end