public class XMPmodule extends XMPenv
env, is_module, isStencilTypecheckallFlag, isStencilTypecheckFlag, isStencilTypecheckQuietFlag
Constructor and Description |
---|
XMPmodule(XMPenv parent)
Contructor of XMPmodel with parent XMPenv.
|
Modifier and Type | Method and Description |
---|---|
Ident |
declIdent(java.lang.String name,
Xtype type,
boolean is_external,
Block block)
Declare the identifier by the give name and type.
|
void |
declXMPobject(XMPobject obj)
Declare XMPobject in this module.
|
void |
declXMPobject(XMPobject obj,
Block block)
Declare XMPobject in this module.
|
Ident |
findVarIdent(java.lang.String name,
Block b)
Find and return the identifier object of Ident by the given name
(block is not used in Fortran)
|
XMPobject |
findXMPobject(java.lang.String name)
Find the XMPobject by the given name.
|
XMPobject |
findXMPobject(java.lang.String name,
Block block)
Find the XMPobject by the given name.
|
java.lang.String |
getModuleName()
return the module name.
|
XMPsymbolTable |
getXMPsymbolTable()
Return XMP sybmol table in this module.
|
void |
inputFile(java.lang.String module_name)
Read from the given module .xmod file.
|
void |
removeIdent(java.lang.String name,
Block block)
Remove the declareation of the identifier of the give name.
|
void |
useModule(java.lang.String module_name)
Indicate this module uses the module give by the module name.
|
currentDefIsModule, currentDefName, declExternIdent, declIdent, declIdent, declInternIdent, declInternIdent, declIntrinsicIdent, declObjectId, declObjectId, declOrGetSizeArray, declXMParray, finalizeEnv, findModule, findVarIdentBlock, findXMPnodes, findXMPtemplate, FintrinsicIdent, getEnv, getModules, getStencilTypecheckallFlag, getStencilTypecheckFlag, getStencilTypecheckQuietFlag, getXMPsymbolTable, setCurrentDef
public XMPmodule(XMPenv parent)
public java.lang.String getModuleName()
public void inputFile(java.lang.String module_name)
public void useModule(java.lang.String module_name)
public XMPsymbolTable getXMPsymbolTable()
getXMPsymbolTable
in class XMPenv
public void declXMPobject(XMPobject obj, Block block)
declXMPobject
in class XMPenv
public void declXMPobject(XMPobject obj)
public XMPobject findXMPobject(java.lang.String name, Block block)
findXMPobject
in class XMPenv
public XMPobject findXMPobject(java.lang.String name)
public Ident declIdent(java.lang.String name, Xtype type, boolean is_external, Block block)
public void removeIdent(java.lang.String name, Block block)
removeIdent
in class XMPenv
public Ident findVarIdent(java.lang.String name, Block b)
findVarIdent
in class XMPenv