public class FunctionBlock extends CompoundBlock
BlockCounter
id
Constructor and Description |
---|
FunctionBlock(LineNo line_no,
Xcode opcode,
Xobject name,
Xobject id_list,
Xobject decls,
Block body_block,
Xobject gcc_attrs,
XobjectDefEnv env,
Xobject parent_name) |
FunctionBlock(Xcode opcode,
Xobject name,
Xobject id_list,
Xobject decls,
Block body_block,
Xobject gcc_attrs,
XobjectDefEnv env) |
FunctionBlock(Xobject name,
Xobject id_list,
Xobject decls,
Block body_block,
Xobject gcc_attrs,
XobjectDefEnv env)
contructor with function name "name", id list, decls, body block and env.
|
Modifier and Type | Method and Description |
---|---|
XobjectDefEnv |
getEnv()
return associated XobjectFile env
|
java.lang.String |
getName()
returns Function name
|
Xobject |
getNameObj() |
java.lang.String |
toString()
convert to the printable string
|
Xobject |
toXobject()
convert to Xobject
|
copy, findVarIdent, findVarIdentBlock, getBody, getXMPsymbolTable, setBody
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 FunctionBlock(Xobject name, Xobject id_list, Xobject decls, Block body_block, Xobject gcc_attrs, XobjectDefEnv env)
public FunctionBlock(Xcode opcode, Xobject name, Xobject id_list, Xobject decls, Block body_block, Xobject gcc_attrs, XobjectDefEnv env)
public java.lang.String getName()
public Xobject getNameObj()
public XobjectDefEnv getEnv()
public Xobject toXobject()
toXobject
in class CompoundBlock
public java.lang.String toString()
Block
toString
in class CompoundBlock