00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "nel/ai/script/compilateur.h"
00025 #include "nel/ai/script/libcode.h"
00026 #include "nel/ai/script/type_def.h"
00027 #include "nel/ai/script/object_load.h"
00028
00029 namespace NLAISCRIPT
00030 {
00031
00032 const NLAIC::CIdentType CLdbOpCode::IdLdbOpCode = NLAIC::CIdentType("LdbOpCode",
00033 NLAIC::CSelfClassFactory(CLdbOpCode(NLAIAGENT::DigitalType(0.0))),
00034 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00035
00036 std::list<sint32> l;
00037
00038 const NLAIC::CIdentType CLdbMemberiOpCode::IdLdbMemberiOpCode = NLAIC::CIdentType("LdbMemberiOpCode",
00039 NLAIC::CSelfClassFactory(CLdbMemberiOpCode(l)),
00040 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00041
00042 const NLAIC::CIdentType CLdbStackMemberiOpCode::IdLdbStackMemberiOpCode = NLAIC::CIdentType("LdbStackMemberiOpCode",
00043 NLAIC::CSelfClassFactory(CLdbStackMemberiOpCode(l)),
00044 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00045
00046 const NLAIC::CIdentType CLdbHeapMemberiOpCode::IdLdbHeapMemberiOpCode = NLAIC::CIdentType("LdbHeapMemberiOpCode",
00047 NLAIC::CSelfClassFactory(CLdbHeapMemberiOpCode(l,0)),
00048 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00049
00050 const NLAIC::CIdentType CLdbMemberOpCode::IdLdbMemberOpCode = NLAIC::CIdentType("LdbMemberOpCode",
00051 NLAIC::CSelfClassFactory(CLdbMemberOpCode(0)),
00052 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00053
00054
00055 const NLAIC::CIdentType CLdbNewOpCode::IdLdbNewOpCode = NLAIC::CIdentType("LdbNewOpCode",
00056 NLAIC::CSelfClassFactory(CLdbNewOpCode(NLAIAGENT::DigitalType(0.0))),
00057 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00058
00059 CLdbRefOpCode iLdbRefOpCode(0);
00060 const NLAIC::CIdentType CLdbRefOpCode::IdLdbRefOpCode = NLAIC::CIdentType("LdbRefOpCode",
00061 NLAIC::CSelfClassFactory(iLdbRefOpCode),
00062 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00063
00064 const NLAIC::CIdentType CNegOpCode::IdNegOpCode = NLAIC::CIdentType("NegOpCode",
00065 NLAIC::CSelfClassFactory(CNegOpCode()),
00066 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00067
00068 const NLAIC::CIdentType CAddOpCode::IdAddOpCode = NLAIC::CIdentType("AddOpCode",
00069 NLAIC::CSelfClassFactory(CAddOpCode()),
00070 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00071
00072 const NLAIC::CIdentType CSubOpCode::IdSubOpCode = NLAIC::CIdentType("SubOpCode",
00073 NLAIC::CSelfClassFactory(CSubOpCode()),
00074 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00075
00076 const NLAIC::CIdentType CDivOpCode::IdDivOpCode = NLAIC::CIdentType("DivOpCode",
00077 NLAIC::CSelfClassFactory(CDivOpCode()),
00078 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00079
00080 const NLAIC::CIdentType CMulOpCode::IdMulOpCode = NLAIC::CIdentType("MulOpCode",
00081 NLAIC::CSelfClassFactory(CMulOpCode()),
00082 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00083
00084 const NLAIC::CIdentType CSupOpCode::IdSupOpCode = NLAIC::CIdentType("SupOpCode",
00085 NLAIC::CSelfClassFactory(CSupOpCode()),
00086 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00087
00088 const NLAIC::CIdentType CInfOpCode::IdInfOpCode = NLAIC::CIdentType("InfOpCode",
00089 NLAIC::CSelfClassFactory(CInfOpCode()),
00090 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00091
00092 const NLAIC::CIdentType CEqOpCode::IdEqOpCode = NLAIC::CIdentType("EqOpCode",
00093 NLAIC::CSelfClassFactory(CEqOpCode()),
00094 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00095
00096 const NLAIC::CIdentType CSupEqOpCode::IdSupEqOpCode = NLAIC::CIdentType("SupEqOpCode",
00097 NLAIC::CSelfClassFactory(CSupEqOpCode()),
00098 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00099
00100 const NLAIC::CIdentType CInfEqOpCode::IdInfEqOpCode = NLAIC::CIdentType("InfEqOpCode",
00101 NLAIC::CSelfClassFactory(CInfEqOpCode()),
00102 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00103
00104 const NLAIC::CIdentType CDiffOpCode::IdDiffOpCode = NLAIC::CIdentType("DiffOpCode",
00105 NLAIC::CSelfClassFactory(CDiffOpCode()),
00106 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00107
00108 const NLAIC::CIdentType CNotOpCode::IdNotOpCode = NLAIC::CIdentType("NotOpCode",
00109 NLAIC::CSelfClassFactory(CNotOpCode()),
00110 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00111
00112 const NLAIC::CIdentType CJFalseOpCode::IdJFalseOpCode = NLAIC::CIdentType("JFalseOpCode",
00113 NLAIC::CSelfClassFactory(CJFalseOpCode(-1)),
00114 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00115
00116 const NLAIC::CIdentType CJmpOpCode::IdJmpOpCode = NLAIC::CIdentType("JmpOpCode",
00117 NLAIC::CSelfClassFactory(CJmpOpCode(-1)),
00118 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00119
00120 const NLAIC::CIdentType CAffOpCode::IdAffOpCode = NLAIC::CIdentType("AffOpCode",
00121 NLAIC::CSelfClassFactory(CAffOpCode(-1)),
00122 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00123
00124 const NLAIC::CIdentType CAffOpCodeDebug::IdAffOpCodeDebug = NLAIC::CIdentType("AffOpCodeDebug",
00125 NLAIC::CSelfClassFactory(CAffOpCodeDebug(-1," ")),
00126 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00127
00128 const NLAIC::CIdentType CAffMemberOpCode::IdAffMemberOpCode = NLAIC::CIdentType("AffMemberOpCode",
00129 NLAIC::CSelfClassFactory(CAffMemberOpCode(-1)),
00130 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00131
00132
00133 const NLAIC::CIdentType CAffMemberiOpCode::IdAffMemberiOpCode = NLAIC::CIdentType("AffMemberiOpCode",
00134 NLAIC::CSelfClassFactory(CAffMemberiOpCode(l)),
00135 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00136
00137 const NLAIC::CIdentType CAffHeapMemberiOpCode::IdAffHeapMemberiOpCode = NLAIC::CIdentType("AffHeapMemberiOpCode",
00138 NLAIC::CSelfClassFactory(CAffHeapMemberiOpCode(l,0)),
00139 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00140
00141 const NLAIC::CIdentType CLocAlloc::IdLocAlloc = NLAIC::CIdentType("LocAlloc",
00142 NLAIC::CSelfClassFactory(CLocAlloc()),
00143 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00144
00145 const NLAIC::CIdentType CLocAllocDebug::IdLocAllocDebug = NLAIC::CIdentType("LocAllocDebug",
00146 NLAIC::CSelfClassFactory(CLocAllocDebug()),
00147 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00148
00149 const NLAIC::CIdentType CMarkAlloc::IdMarkAlloc = NLAIC::CIdentType( "MarkAlloc",
00150 NLAIC::CSelfClassFactory(CMarkAlloc()),
00151 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00152
00153 const NLAIC::CIdentType CFreeAlloc::IdFreeAlloc = NLAIC::CIdentType( "FreeAlloc",
00154 NLAIC::CSelfClassFactory(CFreeAlloc()),
00155 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00156
00157 const NLAIC::CIdentType CFreeAllocDebug::IdFreeAllocDebug = NLAIC::CIdentType( "FreeAllocDebug",
00158 NLAIC::CSelfClassFactory(CFreeAllocDebug()),
00159 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00160
00161 const NLAIC::CIdentType CNopOpCode::IdNopOpCode = NLAIC::CIdentType( "NopOpCode",
00162 NLAIC::CSelfClassFactory(CNopOpCode()),
00163 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00164
00165 const NLAIC::CIdentType CHaltOpCode::IdHaltOpCode = NLAIC::CIdentType( "HaltOpCode",
00166 NLAIC::CSelfClassFactory(CHaltOpCode()),
00167 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00168
00169 const NLAIC::CIdentType CCallMethod::IdCallMethode = NLAIC::CIdentType("CallMethode",
00170 NLAIC::CSelfClassFactory(CCallMethod(new CMethodContext(),0,0)),
00171 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00172
00173 const NLAIC::CIdentType CCallMethodi::IdCallMethodei = NLAIC::CIdentType("CallMethodei",
00174 NLAIC::CSelfClassFactory(CCallMethodi(new CMethodContext(),0,0,l)),
00175 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00176
00177 const NLAIC::CIdentType CCallHeapMethodi::IdCallHeapMethodei = NLAIC::CIdentType("CallHeapMethodei",
00178 NLAIC::CSelfClassFactory(CCallHeapMethodi(new CMethodContext(),0,0,0,l)),
00179 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00180
00181 const NLAIC::CIdentType CCallStackNewMethodi::IdCallStackNewMethodei = NLAIC::CIdentType("CallStackNewMethodei",
00182 NLAIC::CSelfClassFactory(CCallStackNewMethodi(new CMethodContext(),0,0,l)),
00183 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00184
00185
00186 const NLAIC::CIdentType CCallStackMethodi::IdCallStackMethodei = NLAIC::CIdentType("CallStackMethodei",
00187 NLAIC::CSelfClassFactory(CCallStackMethodi(new CMethodContext(),0,0,l)),
00188 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00189
00190
00191 const NLAIC::CIdentType CLibMemberMethod::IdLibMemberMethod = NLAIC::CIdentType("LibMemberMethod",
00192 NLAIC::CSelfClassFactory(CLibMemberMethod(0)),
00193 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00194
00195 const NLAIC::CIdentType CLibMemberInheritedMethod::IdLibMemberInheritedMethod = NLAIC::CIdentType("LibMemberInheritedMethod",
00196 NLAIC::CSelfClassFactory(CLibMemberInheritedMethod( 0,0)),
00197 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00198
00199 const NLAIC::CIdentType CLibMemberMethodi::IdLibMemberMethodi = NLAIC::CIdentType("LibMemberMethodi",
00200 NLAIC::CSelfClassFactory(CLibMemberMethodi( 0,0,l)),
00201 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00202
00203 const NLAIC::CIdentType CLibCallMethod::IdLibCallMethod = NLAIC::CIdentType("LibCallMethod",
00204 NLAIC::CSelfClassFactory(CLibCallMethod(0,CCallPrint())),
00205 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00206
00207 const NLAIC::CIdentType CLibCallInheritedMethod::IdLibCallInheritedMethod = NLAIC::CIdentType("LibCallInheritedMethod",
00208 NLAIC::CSelfClassFactory(CLibCallInheritedMethod( 0,0,CCallPrint())),
00209 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00210
00211 const NLAIC::CIdentType CLibCallMethodi::IdLibCallMethodi = NLAIC::CIdentType("LibCallMethodi",
00212 NLAIC::CSelfClassFactory(CLibCallMethodi( 0,0,l,CCallPrint())),
00213 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00214
00215 const NLAIC::CIdentType CLibStackMemberMethod::IdLibStackMemberMethod = NLAIC::CIdentType("LibStackMemberMethod",
00216 NLAIC::CSelfClassFactory(CLibStackMemberMethod( 0,0,l)),
00217 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00218
00219 const NLAIC::CIdentType CLibStackNewMemberMethod::IdLibStackNewMemberMethod = NLAIC::CIdentType("LibStackNewMemberMethod",
00220 NLAIC::CSelfClassFactory(CLibStackNewMemberMethod( 0,0,l)),
00221 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00222
00223 const NLAIC::CIdentType CLibHeapMemberMethod::IdLibHeapMemberMethod = NLAIC::CIdentType("LibHeapMemberMethod",
00224 NLAIC::CSelfClassFactory(CLibHeapMemberMethod( 0,0,l,0)),
00225 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00226
00227
00228 const NLAIC::CIdentType CTellOpCode::IdTellOpCode = NLAIC::CIdentType("TellOpCode",
00229 NLAIC::CSelfClassFactory(CTellOpCode()),
00230 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00231 const NLAIC::CIdentType CMakeArgOpCode::IdMakeArgOpCode = NLAIC::CIdentType("MakeArgOpCode",
00232 NLAIC::CSelfClassFactory(CMakeArgOpCode()),
00233 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00234 const NLAIC::CIdentType CMarkMsg::IdMarkMsg = NLAIC::CIdentType("MarkMsg",
00235 NLAIC::CSelfClassFactory(CMarkMsg(0,0)),
00236 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00237
00238 const NLAIC::CIdentType CFindRunMsg::IdFindRunMsg = NLAIC::CIdentType("FindRunMsg",
00239 NLAIC::CSelfClassFactory(CFindRunMsg(NLAIAGENT::CGroupType(),CParam(),COperandVoid(),CLoadSelfObject()) ),
00240 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00241 const NLAIC::CIdentType CMsgSetSender::IdMsgSetSender = NLAIC::CIdentType("MsgSetSender",
00242 NLAIC::CSelfClassFactory(CMsgSetSender()),
00243 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00244
00245 const NLAIC::CIdentType CAddParamNameDebug::IdAddParamNameDebug = NLAIC::CIdentType("AddParamNameDebug",
00246 NLAIC::CSelfClassFactory(CAddParamNameDebug(NLAIAGENT::CGroupType())),
00247 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00248
00249
00250 const NLAIC::CIdentType CLoadSelfObject::IdLoadSelfObject = NLAIC::CIdentType("LoadSelfObject",
00251 NLAIC::CSelfClassFactory(CLoadSelfObject(l)),
00252 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00253 const NLAIC::CIdentType CLoadStackObject::IdLoadSelfObject = NLAIC::CIdentType("LoadStackObject",
00254 NLAIC::CSelfClassFactory(CLoadStackObject(l)),
00255 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00256 const NLAIC::CIdentType CLoadHeapObject::IdLoadHeapObject = NLAIC::CIdentType("LoadHeapObject",
00257 NLAIC::CSelfClassFactory(CLoadHeapObject(l,0)),
00258 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0));
00259
00260 }