Class: Crokus::AddressOf

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

Overview

&

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(expr) ⇒ AddressOf

Returns a new instance of AddressOf.



380
381
382
# File 'lib/crokus/ast.rb', line 380

def initialize expr
  @expr=expr
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



379
380
381
# File 'lib/crokus/ast.rb', line 379

def expr
  @expr
end