public class XMPlocalDecl
extends java.lang.Object
Constructor and Description |
---|
XMPlocalDecl() |
Modifier and Type | Method and Description |
---|---|
static void |
addAllocCall(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static void |
addAllocCall2(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static void |
addConstructorCall(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static void |
addConstructorCall2_staticDesc(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block,
Ident flagVar,
boolean setFlag) |
static void |
addConstructorCall2(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static Ident |
addObjectId(java.lang.String objectName,
Block block) |
static Ident |
addObjectId(java.lang.String objectName,
Xtype type,
Block block) |
static Ident |
addObjectId2(java.lang.String objectName,
Block block) |
static Ident |
addObjectId2(java.lang.String objectName,
Xtype type,
Block block) |
static void |
checkObjectNameCollision(java.lang.String name,
BlockList scopeBL,
XMPsymbolTable objectTable) |
static XMPsymbolTable |
declXMPsymbolTable(Block block) |
static XMPsymbolTable |
declXMPsymbolTable2(Block block) |
static Ident |
findLocalIdent(Block block,
java.lang.String name) |
static FunctionBlock |
findParentFunctionBlock(Block block) |
static XMPsymbolTable |
getXMPsymbolTable(Block block) |
static XMPsymbolTable |
getXMPsymbolTable2(Block block) |
static void |
insertDestructorCall(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static void |
insertDestructorCall2(java.lang.String funcName,
Xobject funcArgs,
XMPglobalDecl globalDecl,
Block block) |
static void |
removeLocalIdent(Block block,
java.lang.String name) |
static void |
setupConstructor(FunctionBlock functionBlock) |
static void |
setupDestructor(FunctionBlock functionBlock) |
static void |
setupObjectId(FunctionBlock functionBlock) |
public static void checkObjectNameCollision(java.lang.String name, BlockList scopeBL, XMPsymbolTable objectTable) throws XMPexception
XMPexception
public static FunctionBlock findParentFunctionBlock(Block block)
public static void removeLocalIdent(Block block, java.lang.String name)
public static XMPsymbolTable getXMPsymbolTable(Block block)
public static XMPsymbolTable declXMPsymbolTable(Block block)
public static void addConstructorCall(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)
public static void addAllocCall(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)
public static void insertDestructorCall(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)
public static void setupObjectId(FunctionBlock functionBlock)
public static void setupConstructor(FunctionBlock functionBlock)
public static void setupDestructor(FunctionBlock functionBlock)
public static XMPsymbolTable getXMPsymbolTable2(Block block)
public static XMPsymbolTable declXMPsymbolTable2(Block block)
public static void addConstructorCall2(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)
public static void addConstructorCall2_staticDesc(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block, Ident flagVar, boolean setFlag)
public static void addAllocCall2(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)
public static void insertDestructorCall2(java.lang.String funcName, Xobject funcArgs, XMPglobalDecl globalDecl, Block block)