Class: Crokus::ITE

Inherits:
Ast
  • Object
show all
Defined in:
lib/crokus/cfg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(cond, bb_t, bb_f) ⇒ ITE

Returns a new instance of ITE.



9
10
11
12
13
# File 'lib/crokus/cfg.rb', line 9

def initialize cond,bb_t,bb_f
  @cond=cond
  @trueBranch=bb_t
  @falseBranch=bb_f
end

Instance Attribute Details

#condObject

Returns the value of attribute cond.



8
9
10
# File 'lib/crokus/cfg.rb', line 8

def cond
  @cond
end

#falseBranchObject

Returns the value of attribute falseBranch.



8
9
10
# File 'lib/crokus/cfg.rb', line 8

def falseBranch
  @falseBranch
end

#trueBranchObject

Returns the value of attribute trueBranch.



8
9
10
# File 'lib/crokus/cfg.rb', line 8

def trueBranch
  @trueBranch
end