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.



376
377
378
# File 'lib/crokus/ast.rb', line 376

def initialize expr
  @expr=expr
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



375
376
377
# File 'lib/crokus/ast.rb', line 375

def expr
  @expr
end