public class CompoundBlock extends Block
BlockCounter
id
Constructor and Description |
---|
CompoundBlock(BlockList body)
constructor with BlockList
|
CompoundBlock(CompoundBlock b)
make clone
|
CompoundBlock(Xcode code,
BlockList body)
constructor with code and BlockList
|
CompoundBlock(Xcode code,
BlockList body,
java.lang.String construct_name)
constructor with code and BlockList
|
Modifier and Type | Method and Description |
---|---|
Block |
copy()
make clone
|
Ident |
findVarIdent(java.lang.String name) |
CompoundBlock |
findVarIdentBlock(java.lang.String name) |
BlockList |
getBody()
return body
|
XMPsymbolTable |
getXMPsymbolTable() |
void |
setBody(BlockList s)
set body
|
java.lang.String |
toString()
convert to the printable string
|
Xobject |
toXobject()
convert to Xobject representation
|
add, add, add, findCommonIdent, findParentBlockStmt, findVarIdent, findVarIdentBlock, findXMPobject, getBasicBlock, getCondBBlock, getConstructNameObj, getElseBody, getInfoExpr, getInitBBlock, getIterBBlock, getLabel, getLineNo, getNext, getParent, getParentBlock, getPrev, getThenBody, getXMPobject, insert, insert, insert, numberOfBasicBlock, numberOfBlock, Opcode, remove, removeVarIdent, replace, setElseBody, setInitBBlock, setIterBBlock, setLabel, setLineNo, setParent, setThenBody, visitBasicBlock, visitBody
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public CompoundBlock(BlockList body)
public CompoundBlock(Xcode code, BlockList body, java.lang.String construct_name)
public CompoundBlock(CompoundBlock b)
public Xobject toXobject()
public java.lang.String toString()
Block
public Ident findVarIdent(java.lang.String name)
findVarIdent
in interface IVarContainer
findVarIdent
in class Block
public CompoundBlock findVarIdentBlock(java.lang.String name)
findVarIdentBlock
in class Block
public XMPsymbolTable getXMPsymbolTable()
getXMPsymbolTable
in class Block