Class: Crokus::Parenth

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) ⇒ Parenth

Returns a new instance of Parenth.



397
398
399
# File 'lib/crokus/ast.rb', line 397

def initialize e
  @expr=e
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



396
397
398
# File 'lib/crokus/ast.rb', line 396

def expr
  @expr
end