public class IfBlock extends Block
BlockCounter
id
コンストラクタと説明 |
---|
IfBlock(BasicBlock cond,
BlockList then_part,
BlockList else_part) |
IfBlock(IfBlock b)
constructor to make copy of b
|
IfBlock(Xcode code,
BasicBlock cond,
BlockList then_part,
BlockList else_part,
java.lang.String construct_name)
constructor
|
修飾子とタイプ | メソッドと説明 |
---|---|
Block |
copy()
return copy of this block
|
BasicBlock |
getCondBBlock()
return BasicBlock in condition part
|
BlockList |
getElseBody()
get the BlockList of "else" part
|
BlockList |
getThenBody()
get the BlockList of "then" part
|
void |
setCondBBlock(BasicBlock bb)
set BasicBlock in condition part
|
void |
setElseBody(BlockList s)
set the BlockList of "else" part
|
void |
setThenBody(BlockList s)
set the BlockList of "then" part
|
java.lang.String |
toString()
convert to the printable string
|
Xobject |
toXobject()
convert to Xobject
|
void |
visitBody(BasicBlockVisitor v)
apply visitor recursively
|
add, add, add, findCommonIdent, findParentBlockStmt, findVarIdent, findVarIdentBlock, findXMPobject, getBasicBlock, getBody, getConstructNameObj, getInfoExpr, getInitBBlock, getIterBBlock, getLabel, getLineNo, getNext, getParent, getParentBlock, getPrev, getXMPobject, getXMPsymbolTable, insert, insert, insert, numberOfBasicBlock, numberOfBlock, Opcode, remove, removeVarIdent, replace, setBody, setInitBBlock, setIterBBlock, setLabel, setLineNo, setParent, visitBasicBlock
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public IfBlock(BasicBlock cond, BlockList then_part, BlockList else_part)
public IfBlock(Xcode code, BasicBlock cond, BlockList then_part, BlockList else_part, java.lang.String construct_name)
public IfBlock(IfBlock b)
public BasicBlock getCondBBlock()
getCondBBlock
クラス内 Block
public void setCondBBlock(BasicBlock bb)
public BlockList getThenBody()
getThenBody
クラス内 Block
public BlockList getElseBody()
getElseBody
クラス内 Block
public void setThenBody(BlockList s)
setThenBody
クラス内 Block
public void setElseBody(BlockList s)
setElseBody
クラス内 Block
public void visitBody(BasicBlockVisitor v)