coins.ffront
クラス CommonManager
java.lang.Object
|
+--coins.ffront.BaseManager
|
+--coins.ffront.CommonManager
- public class CommonManager
- extends BaseManager
Manage Common variables
Block variables storage image in C
union{
struct{
int a;
int b;
} unit_name_A;
struct{
int c;
int d;
} unit_name_B;
} BlockNameA;
...
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id_table_
java.util.Map id_table_
bk_table_
java.util.Map bk_table_
g_sym_table_
SymTable g_sym_table_
c_sym_table_
SymTable c_sym_table_
unit_name_
java.lang.String unit_name_
fDeclMgr
DeclManager fDeclMgr
CommonManager
CommonManager(FirToHir fth,
DeclManager declm)
processCommon
void processCommon(java.lang.String unit_name)
- Process Common statements in an program unit.
makeBlockStructure
void makeBlockStructure(java.lang.String name,
FirList list)
defineGlobalVal
Var defineGlobalVal(java.lang.String ident,
Type type)
makeExp
Exp makeExp(java.lang.String ident)
isBlockVariable
boolean isBlockVariable(java.lang.String ident)
- 戻り値:
- true if ident is block variable
symBlockVariable
Sym symBlockVariable(java.lang.String ident)
getGlobalBlockVarType
UnionType getGlobalBlockVarType(java.lang.String ident)
getGlobalBlockVar
Var getGlobalBlockVar(java.lang.String ident)
getHeightOnBlockVar
int getHeightOnBlockVar(java.lang.String ident)
setInitialValue
void setInitialValue(java.lang.String lexem,
Exp exp)
commitInitialValue
void commitInitialValue()