Class: Crokus::Deref

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(e) ⇒ Deref

Returns a new instance of Deref.



369
370
371
# File 'lib/crokus/ast.rb', line 369

def initialize e
  @expr = e
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



368
369
370
# File 'lib/crokus/ast.rb', line 368

def expr
  @expr
end