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.



373
374
375
# File 'lib/crokus/ast.rb', line 373

def initialize e
  @expr = e
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



372
373
374
# File 'lib/crokus/ast.rb', line 372

def expr
  @expr
end