# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAISCRIPT::CCompilateur Class Reference

This class define compilation of a source code. More...

#include <compilateur.h>

Inheritance diagram for NLAISCRIPT::CCompilateur:

NLAISCRIPT::yyFlexLexer NLAISCRIPT::FlexLexer List of all members.

Public Methods

 CCompilateur (NLAIC::IIO &Iterface, const char *str, sint32 size, IScriptDebugSource *fileName)
 The perser need an IO interface, an source code here defined by const char *str and sint32 size. More...

 CCompilateur (NLAIC::IIO &Iterface, const char *str, IScriptDebugSource *fileName)
 The perser need an IO interface, an source code here defined by const char *str which it define a file name. More...

void InitFromFile (const char *FileName)
 Initialize source code from file. More...

NLAIAGENT::IObjectIAgetVar (const char *name)
 get the locale variable define by name. More...

void InitStream (char *str, sint32 size)
 Initialize the std::stream. More...

virtual ~CCompilateur ()
virtual int yywrap ()
 This function is needed by the lex parser for initializ the read stream (see lex documment). More...

void cleanTypeList ()
 Clean internal list. More...

void clean ()
 Initialize variable befor parsing. More...

void cleanMethodConstraint ()
 Initialisze the constraint. More...

void cleanTypeConstraint ()
virtual NLAIAGENT::IObjectIA::CProcessResult Compile ()
 This method generate compiled code. More...

int yyparse ()
 Yacc parser. More...

void Echo (char *Er,...)
 Same as printf but out put is made to the IO interface. More...

void yyerror (char *Er)
 Occur when there are a parse error. More...

bool parseError ()
 You can use this to consult the state of the parser. More...

CFunctionTag findMethode (const NLAIAGENT::IObjectIA *baseClass, NLAIAGENT::IBaseGroupType &listName, const CParam &param)
 Find a method in a class define by the baseClass pointer. More...

CFunctionTag findMethode (NLAIAGENT::IBaseGroupType &listName, const CParam &param)
 Find a method the last class mounted by the parser. More...

sint32 isValidateVarName (const NLAIAGENT::IObjectIA *baseClass, std::list< sint32 > &ref, std::list< NLAISCRIPT::CStringType > &nameHierarchy, IOpType *&type)
 Search if a member variable is validete for a class defined by baseClass. More...

sint32 isValidateVarName (std::list< sint32 > &ref, std::list< NLAISCRIPT::CStringType > &nameHierarchy, IOpType *&type)
 Search if a member variable is validete in the lase class parsed. More...

void setDebugMode (bool bmode)
 Set the Debug Mode. More...

bool getDebugMode () const
 Get the debug state. More...

const NLAIAGENT::IObjectIAvalidateHierarchyMethode (std::list< sint32 > &, sint32 &, const NLAIAGENT::IObjectIA *, NLAIAGENT::IBaseGroupType &listName)

Protected Methods

NLAIC::CIdentType getTypeOfClass (const NLAIAGENT::IVarName &className)
 throw (NLAIE::IException). More...

CCodeBrancheRungetCode (bool isMain=false)
 throw (NLAIE::IException). More...

sint32 runTypeConstraint ()
sint32 runMethodConstraint ()
void errorMethodConstraint ()
void errorTypeConstraint ()
sint32 getNMethodConstraint ()
NLAIAGENT::CIdMethod findMethode (sint32 inheritance, NLAIAGENT::CStringType *baseName, const NLAIAGENT::IObjectIA *className, const NLAIAGENT::IVarName &methodeName, const CParam &param)
const IClassInterpretgetInheritanceRange (sint32 &, const IClassInterpret *, NLAIAGENT::IBaseGroupType &) const
const IClassInterpretgetInheritanceRange (sint32 &, const IClassInterpret *, const NLAIAGENT::IVarName &) const
sint32 findMethodei (NLAIAGENT::IBaseGroupType &listName, const CParam &param)
virtual void setNewLine ()
 Tell the _lastBlock about a newLine (for Debug). More...

sint32 castVariable (const NLAIAGENT::CStringVarName &, NLAIAGENT::CStringVarName &)
void ifInterrogation ()
void ifInterrogationPoint ()
void ifInterrogationEnd ()
void interrogationEnd ()
sint32 affectation ()
sint32 processingVar ()
void allocExpression (IOpCode *op, bool gd=false)
bool computContraint ()
void RegisterClass ()
void onEndClass ()
sint32 affectationMember (sint32 member)
sint32 affectationMember (IClassInterpret *, sint32 member)
sint32 affectationiMember (const IClassInterpret *baseClass, std::list< NLAISCRIPT::CStringType > &varHName)
sint32 PrivateError ()
const NLAIAGENT::IObjectIAgetValidateHierarchyBase (std::list< sint32 > &ref, sint32 &h, std::list< NLAISCRIPT::CStringType > &listName)
const NLAIAGENT::IObjectIAgetValidateHierarchyBase (const NLAIAGENT::IObjectIA *base, std::list< sint32 > &ref, sint32 &h, std::list< NLAISCRIPT::CStringType > &listName)
void nameMethodeProcessing ()
void initParam ()
bool registerMethod ()
IConstraintgetMethodConstraint (const NLAIAGENT::IBaseGroupType &g, const CParam &p) const
IConstraintgetMethodConstraint (const IConstraint &c) const
sint32 typeOfMethod ()
bool setParamVarName ()
void pushParamExpression ()
void addParamCont ()
void addParamRuleCont ()
void setImediateVar ()
void setImediateVarNill ()
void setPerformative (NLAIAGENT::IMessageBase::TPerformatif p)
void setListVar ()
void setChaineVar ()
void setStackVar (const NLAIC::CIdentType &)
void setMethodVar ()
bool buildObject ()
void setTypeExpression ()
void setTypeExpression (NLAIC::CTypeOfOperator::TTypeOp op, const char *txtOp)
void setTypeExpressionG ()
void setTypeExpressionD (NLAIC::CTypeOfOperator::TTypeOp op, const char *txtOp)
bool callFunction ()
bool checkReturnMethod ()
void callSend ()
void initMessageManager ()
bool endMessageManager ()
bool caseRunMsg ()
bool definClass (const char *className)
bool classIsAnOperator ()
 Logic compilation. More...

void CompileFactPattern ()
void CompileOperator ()
void addOpCode (IOpCode *x)

Private Types

typedef std::pair< NLAIAGENT::IVarName *,
NLAIAGENT::IObjectIA * > 
pairType
 This define is use for define an argument of a method in the language. More...


Private Attributes

std::istrstream * _StreamBuffer
 Stream that contain source code. More...

NLAIC::IIO_Iterface
 IO for set out text or for get an input. More...

CFactorType _LastFact
 Type of last statement. More...

IBlock_LastBloc
 Laste code parsed. More...

NLAIAGENT::CStringVarName _LastString
 Last string. More...

NLAIAGENT::CStringVarName _LastBaseObjectDef
 Last string. More...

bool _BaseObjectDef
CListClass _SelfClass
 List of class define in the souce code. More...

std::list< IBlock * > _LastSaveBloc
 temporary code parsed for code manager. More...

std::list< IBlock * > _LastBloc1
 temporary code parsed for code manager. More...

std::list< IBlock * > _LastBloc2
 temporary code parsed for code manager. More...

std::list< IBlock * > _LastBloc3
 temporary code parsed for code manager. More...

NLAIAGENT::IObjectIA_LastAffectation
 Last affected variable. More...

CIndexStackPointer _VarState
 This variable allow to simulate the heap allocation. More...

CStackPointer _Stack
CStackPointer _Heap
std::list< NLAISCRIPT::CStringType_LasVarStr
std::list< NLAISCRIPT::CStringType_LasAffectationVarStr
std::list< IOpType * > _TypeList
bool _Error
sint32 _LastRegistered
std::list< pairType_Attrib
sint32 _DecalageHeap
std::list< IConstraint * > _MethodConstraint
std::list< IConstraint * > _ConstraintType
std::list< NLAIAGENT::IBaseGroupType * > _LastStringParam
std::list< CParam * > _Param
std::list< NLAIAGENT::CStringVarName_MethodName
IOpType_ExpressionType
IOpType_FlotingExpressionType
std::list< IOpType * > _ExpressionTypeTmp
std::list< IOpType * > _ExpressionOp
bool _IsFacteurIsExpression
bool _FacteurEval
bool _IsVoid
sint32 _LastPosHeap
sint32 _LastTypeCall
IConstraint_LastbaseClass
bool _Debug
IScriptDebugSource_SourceFileName
NLAIAGENT::IObjectIA_ResultCompile
std::list< std::list< const
NLAIAGENT::IVarName * > > 
_LastLogicParams
std::list< const NLAIAGENT::CStringVarName * > _LastBooleanConds
std::list< NLAIAGENT::CStringVarName * > _LastFuzzyConds
std::list< const NLAIAGENT::CStringVarName * > _LastAsserts
std::list< IOpCode * > _LastCodeBranche
bool is_cond
NLAILOGIC::CFactBase_FactBase
NLAILOGIC::CFactPattern_LastFactPattern
NLAIAGENT::IVarName_Goal
std::list< NLAIFUZZY::CFuzzyVar * > _FuzzVars
sint32 _LastFVarIndex
sint32 _NbLogicParams
bool _InCond
NLAIAGENT::IMessageBase::TPerformatif _LastPerf
bool _InLineParse
std::list< bool > _FromStack
tDicoStr_Dictionary
bool isRunMsg
bool haveReturn

Detailed Description

This class define compilation of a source code.

He is heritage come from the lex parser.

Author:
Chafik sameh , Robert Gabriel , Nevrax France
Date:
2000

Definition at line 125 of file compilateur.h.


Member Typedef Documentation

typedef std::pair<NLAIAGENT::IVarName *,NLAIAGENT::IObjectIA *> NLAISCRIPT::CCompilateur::pairType [private]
 

This define is use for define an argument of a method in the language.

Definition at line 129 of file compilateur.h.

Referenced by setParamVarName.


Constructor & Destructor Documentation

NLAISCRIPT::CCompilateur::CCompilateur NLAIC::IIO   Iterface,
const char *    str,
sint32    size,
IScriptDebugSource   fileName
[inline]
 

The perser need an IO interface, an source code here defined by const char *str and sint32 size.

Remark that the const char* fileName variable is necessary for the debug code version.

Definition at line 208 of file compilateur.h.

References _Debug, _DecalageHeap, _Error, _ExpressionType, _FacteurEval, _FlotingExpressionType, _InCond, _InLineParse, _IsFacteurIsExpression, _IsVoid, _LastBloc, _SourceFileName, _StreamBuffer, haveReturn, InitStream, isRunMsg, NLAISCRIPT::yyFlexLexer::LastyyText, NLAISCRIPT::yyFlexLexer::yyColone, and NLAISCRIPT::yyFlexLexer::yyLine.

NLAISCRIPT::CCompilateur::CCompilateur NLAIC::IIO   Iterface,
const char *    str,
IScriptDebugSource   fileName
[inline]
 

The perser need an IO interface, an source code here defined by const char *str which it define a file name.

Remark that the const char* fileName variable is necessary for the debug code version.

Definition at line 244 of file compilateur.h.

References _Debug, _DecalageHeap, _Error, _ExpressionType, _FacteurEval, _FlotingExpressionType, _InCond, _InLineParse, _IsFacteurIsExpression, _IsVoid, _LastBloc, _SourceFileName, _StreamBuffer, haveReturn, InitFromFile, isRunMsg, NLAISCRIPT::yyFlexLexer::yyColone, and NLAISCRIPT::yyFlexLexer::yyLine.

virtual NLAISCRIPT::CCompilateur::~CCompilateur   [inline, virtual]
 

Definition at line 317 of file compilateur.h.

References _SourceFileName, _StreamBuffer, clean, cleanMethodConstraint, and cleanTypeConstraint.


Member Function Documentation

void NLAISCRIPT::CCompilateur::addOpCode IOpCode   x [protected]
 

Definition at line 491 of file compilateur.cpp.

References _LastBloc, and x.

void NLAISCRIPT::CCompilateur::addParamCont   [protected]
 

Definition at line 384 of file var_control.cpp.

References _LastBloc.

void NLAISCRIPT::CCompilateur::addParamRuleCont   [protected]
 

Definition at line 379 of file var_control.cpp.

References _LastBloc.

sint32 NLAISCRIPT::CCompilateur::affectation   [protected]
 

Definition at line 138 of file yacc.cpp.

References _ConstraintType, _ExpressionType, _Heap, _LasAffectationVarStr, _LastAffectation, _LastBloc, _SelfClass, _VarState, affectationMember, getMethodConstraint, NLAIAGENT::IObjectIA::getStaticMemberIndex, getVar, id, index, isValidateVarName, NLAIC::CTypeOfOperator::opAff, PrivateError, and yyerror.

sint32 NLAISCRIPT::CCompilateur::affectationiMember const IClassInterpret   baseClass,
std::list< NLAISCRIPT::CStringType > &    varHName
[protected]
 

Definition at line 419 of file yacc.cpp.

sint32 NLAISCRIPT::CCompilateur::affectationMember IClassInterpret  ,
sint32    member
[protected]
 

Definition at line 327 of file yacc.cpp.

References _ConstraintType, _ExpressionType, _LastBloc, NLAIC::CTypeOfOperator::opAff, NLAIC::stringGetBuild, and yyerror.

sint32 NLAISCRIPT::CCompilateur::affectationMember sint32    member [protected]
 

Definition at line 322 of file yacc.cpp.

References _SelfClass.

Referenced by affectation.

void NLAISCRIPT::CCompilateur::allocExpression IOpCode   op,
bool    gd = false
[protected]
 

Definition at line 425 of file yacc.cpp.

References _ConstraintType, _LastBloc, _LastFact, NLAISCRIPT::varForFunc, NLAISCRIPT::varTypeHeapMember, NLAISCRIPT::varTypeImediate, NLAISCRIPT::varTypeLocal, NLAISCRIPT::varTypeMember, NLAISCRIPT::varTypeStackMember, and x.

bool NLAISCRIPT::CCompilateur::buildObject   [protected]
 

Definition at line 539 of file var_control.cpp.

References _CONSTRUCTOR_, _FlotingExpressionType, _LastBloc, _LastStringParam, _MethodConstraint, _Param, NLAIAGENT::IBaseGroupType::cpy, NLAIC::createInstance, getMethodConstraint, NLAIAGENT::CStringType::getStr, id, NLAIC::IPointerGestion::release, s, NLAIC::stringGetBuild, and yyerror.

bool NLAISCRIPT::CCompilateur::callFunction   [protected]
 

Definition at line 816 of file yacc.cpp.

References _FromStack, _LastbaseClass, _LastBloc, _LastPosHeap, _LastStringParam, _LastTypeCall, _MethodConstraint, _Param, _SEND_, _TypeList, getMethodConstraint, NLAIAGENT::CStringType::getStr, getVar, NLAIC::IPointerGestion::release, s, NLAISCRIPT::yyFlexLexer::yyColone, and NLAISCRIPT::yyFlexLexer::yyLine.

void NLAISCRIPT::CCompilateur::callSend   [protected]
 

Definition at line 805 of file yacc.cpp.

bool NLAISCRIPT::CCompilateur::caseRunMsg   [protected]
 

Definition at line 34 of file var_control.cpp.

References haveReturn, isRunMsg, and yyerror.

sint32 NLAISCRIPT::CCompilateur::castVariable const NLAIAGENT::CStringVarName  ,
NLAIAGENT::CStringVarName  
[protected]
 

Definition at line 54 of file var_control.cpp.

References NLAIAGENT::CStringVarName::getString, getVar, id, NLAIC::stringGetBuild, t, v, and yyerror.

bool NLAISCRIPT::CCompilateur::checkReturnMethod   [protected]
 

Definition at line 811 of file yacc.cpp.

bool NLAISCRIPT::CCompilateur::classIsAnOperator   [protected]
 

Logic compilation.

Definition at line 49 of file var_control.cpp.

void NLAISCRIPT::CCompilateur::clean  
 

Initialize variable befor parsing.

Definition at line 366 of file compilateur.cpp.

References _Attrib, _ExpressionType, _FlotingExpressionType, _LastBloc, _LastBloc1, _LastBloc2, _LastBloc3, _LastSaveBloc, _LastStringParam, _Param, and cleanTypeList.

Referenced by initParam, and ~CCompilateur.

void NLAISCRIPT::CCompilateur::cleanMethodConstraint  
 

Initialisze the constraint.

Definition at line 433 of file compilateur.cpp.

References _MethodConstraint.

Referenced by computContraint, and ~CCompilateur.

void NLAISCRIPT::CCompilateur::cleanTypeConstraint  
 

Definition at line 443 of file compilateur.cpp.

References _ConstraintType.

Referenced by computContraint, and ~CCompilateur.

void NLAISCRIPT::CCompilateur::cleanTypeList  
 

Clean internal list.

Definition at line 358 of file compilateur.cpp.

References _TypeList.

Referenced by clean.

NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CCompilateur::Compile   [virtual]
 

This method generate compiled code.

Return is a NLAIAGENT::IObjectIA::CProcessResult where:

ResultState cintaine a processIdle if the code is generate or ProcessError if there are a prsing error. If there are no problem Result contain the code to execut.

Definition at line 102 of file compilateur.cpp.

References _Error, _ResultCompile, NLAISCRIPT::EraseDico, NLAISCRIPT::InitDico, r, NLAIAGENT::IObjectIA::CProcessResult::Result, NLAIAGENT::IObjectIA::CProcessResult::ResultState, NLAISCRIPT::yyFlexLexer::yyColone, NLAISCRIPT::yyFlexLexer::yylex, NLAISCRIPT::yyFlexLexer::yyLine, yyparse, and yywrap.

void NLAISCRIPT::CCompilateur::CompileFactPattern   [protected]
 

void NLAISCRIPT::CCompilateur::CompileOperator   [protected]
 

bool NLAISCRIPT::CCompilateur::computContraint   [protected]
 

Definition at line 557 of file yacc.cpp.

References _SelfClass, cleanMethodConstraint, cleanTypeConstraint, errorMethodConstraint, errorTypeConstraint, getNMethodConstraint, runMethodConstraint, NLAIC::stringGetBuild, and yyerror.

Referenced by endMessageManager.

bool NLAISCRIPT::CCompilateur::definClass const char *    className [protected]
 

Definition at line 1020 of file yacc.cpp.

References _SelfClass, id, and RegisterClass.

void NLAISCRIPT::CCompilateur::Echo char *    Er,
...   
 

Same as printf but out put is made to the IO interface.

Definition at line 91 of file compilateur.cpp.

References _Iterface, and NLAIC::IIO::Echo.

bool NLAISCRIPT::CCompilateur::endMessageManager   [protected]
 

Definition at line 1012 of file yacc.cpp.

References _ResultCompile, _SelfClass, computContraint, and getCode.

void NLAISCRIPT::CCompilateur::errorMethodConstraint   [protected]
 

Definition at line 340 of file compilateur.cpp.

References _ConstraintType, _MethodConstraint, NLAISCRIPT::yyFlexLexer::yyColone, yyerror, and NLAISCRIPT::yyFlexLexer::yyLine.

Referenced by computContraint.

void NLAISCRIPT::CCompilateur::errorTypeConstraint   [protected]
 

Definition at line 325 of file compilateur.cpp.

References _ConstraintType.

Referenced by computContraint, and runMethodConstraint.

NLAIAGENT::CIdMethod NLAISCRIPT::CCompilateur::findMethode sint32    inheritance,
NLAIAGENT::CStringType   baseName,
const NLAIAGENT::IObjectIA   className,
const NLAIAGENT::IVarName   methodeName,
const CParam   param
[protected]
 

Definition at line 124 of file compilateur.cpp.

References NLAIAGENT::CStringType::getStr, NLAIAGENT::IObjectIA::isMember, param, and q.

CFunctionTag NLAISCRIPT::CCompilateur::findMethode NLAIAGENT::IBaseGroupType   listName,
const CParam   param
 

Find a method the last class mounted by the parser.

Method is define by a name or hiarchie name (a hiarchie name is a list same as [myBaseClass myClass myMethod] here it define the string myBaseClass.myClass.myMethod()). param is a CParam object where it define the argument type of the method.

Definition at line 155 of file compilateur.cpp.

References _SelfClass, findMethode, and param.

CFunctionTag NLAISCRIPT::CCompilateur::findMethode const NLAIAGENT::IObjectIA   baseClass,
NLAIAGENT::IBaseGroupType   listName,
const CParam   param
 

Find a method in a class define by the baseClass pointer.

Method is define by a name or hiarchie name (a hiarchie name is a list same as [myBaseClass myClass myMethod] here it define the string myBaseClass.myClass.myMethod()). param is a CParam object where it define the argument type of the method.

Definition at line 160 of file compilateur.cpp.

References NLAIAGENT::IBaseGroupType::get, NLAIAGENT::IBaseGroupType::getFront, NLAIAGENT::CIdMethod::Index, NLAIAGENT::CIdMethod::Method, param, r, NLAIC::IPointerGestion::release, NLAIAGENT::CIdMethod::ReturnType, NLAIAGENT::IBaseGroupType::size, and validateHierarchyMethode.

Referenced by findMethode.

sint32 NLAISCRIPT::CCompilateur::findMethodei NLAIAGENT::IBaseGroupType   listName,
const CParam   param
[protected]
 

CCodeBrancheRun * NLAISCRIPT::CCompilateur::getCode bool    isMain = false [protected]
 

throw (NLAIE::IException).

Definition at line 953 of file yacc.cpp.

References _DecalageHeap, _Heap, _LastBloc, _SelfClass, _SourceFileName, _VarState, and x.

Referenced by endMessageManager.

bool NLAISCRIPT::CCompilateur::getDebugMode   const [inline]
 

Get the debug state.

Definition at line 409 of file compilateur.h.

References _Debug.

const IClassInterpret * NLAISCRIPT::CCompilateur::getInheritanceRange sint32  ,
const IClassInterpret  ,
const NLAIAGENT::IVarName  
const [protected]
 

Definition at line 61 of file hierarchy.cpp.

const IClassInterpret * NLAISCRIPT::CCompilateur::getInheritanceRange sint32  ,
const IClassInterpret  ,
NLAIAGENT::IBaseGroupType  
const [protected]
 

Definition at line 29 of file hierarchy.cpp.

References NLAIAGENT::IBaseGroupType::getIterator, and NLAIAGENT::IBaseGroupType::size.

Referenced by getValidateHierarchyBase.

IConstraint * NLAISCRIPT::CCompilateur::getMethodConstraint const IConstraint   c const [protected]
 

Definition at line 467 of file compilateur.cpp.

References _MethodConstraint.

IConstraint * NLAISCRIPT::CCompilateur::getMethodConstraint const NLAIAGENT::IBaseGroupType   g,
const CParam   p
const [protected]
 

Definition at line 452 of file compilateur.cpp.

References _MethodConstraint.

Referenced by affectation, buildObject, callFunction, processingVar, and setMethodVar.

sint32 NLAISCRIPT::CCompilateur::getNMethodConstraint   [inline, protected]
 

Definition at line 423 of file compilateur.h.

Referenced by computContraint.

NLAIC::CIdentType NLAISCRIPT::CCompilateur::getTypeOfClass const NLAIAGENT::IVarName   className [protected]
 

throw (NLAIE::IException).

Definition at line 59 of file compilateur.cpp.

References NLAIC::CRegistry::existsClass, NLAIC::getRegistry, and id.

Referenced by getValidateHierarchyBase, and setParamVarName.

const NLAIAGENT::IObjectIA * NLAISCRIPT::CCompilateur::getValidateHierarchyBase const NLAIAGENT::IObjectIA   base,
std::list< sint32 > &    ref,
sint32   h,
std::list< NLAISCRIPT::CStringType > &    listName
[protected]
 

Definition at line 104 of file hierarchy.cpp.

References data, NLAIC::CIdentType::getFactory, getInheritanceRange, NLAIAGENT::IObjectIA::getStaticMember, NLAIAGENT::IObjectIA::getStaticMemberIndex, NLAIAGENT::CStringVarName::getString, NLAIC::IBasicType::getType, getTypeOfClass, id, NLAIAGENT::IObjectIA::isClassInheritedFrom, NLAIC::stringGetBuild, NLAIC::CTypeOfObject::tInterpret, and yyerror.

const NLAIAGENT::IObjectIA * NLAISCRIPT::CCompilateur::getValidateHierarchyBase std::list< sint32 > &    ref,
sint32   h,
std::list< NLAISCRIPT::CStringType > &    listName
[protected]
 

Definition at line 99 of file hierarchy.cpp.

References _SelfClass.

Referenced by isValidateVarName, and validateHierarchyMethode.

NLAIAGENT::IObjectIA* NLAISCRIPT::CCompilateur::getVar const char *    name [inline]
 

get the locale variable define by name.

Definition at line 292 of file compilateur.h.

References _LastBloc.

Referenced by affectation, callFunction, castVariable, and processingVar.

void NLAISCRIPT::CCompilateur::ifInterrogation   [protected]
 

Definition at line 63 of file yacc.cpp.

References _Debug, _ExpressionType, _LastBloc, _LastBloc1, _LastSaveBloc, and _VarState.

void NLAISCRIPT::CCompilateur::ifInterrogationEnd   [protected]
 

Definition at line 97 of file yacc.cpp.

References _LastBloc, _LastBloc1, _LastBloc2, _LastSaveBloc, and _VarState.

void NLAISCRIPT::CCompilateur::ifInterrogationPoint   [protected]
 

Definition at line 79 of file yacc.cpp.

References _Debug, _LastBloc, _LastBloc1, _LastBloc2, and _VarState.

void NLAISCRIPT::CCompilateur::InitFromFile const char *    FileName [inline]
 

Initialize source code from file.

Definition at line 274 of file compilateur.h.

References _StreamBuffer, and file.

Referenced by CCompilateur.

void NLAISCRIPT::CCompilateur::initMessageManager   [protected]
 

Definition at line 999 of file yacc.cpp.

References _SelfClass, initParam, and setNewLine.

void NLAISCRIPT::CCompilateur::initParam   [protected]
 

Definition at line 596 of file yacc.cpp.

References _Debug, _Heap, _InLineParse, _LastBloc, _Param, _VarState, and clean.

Referenced by initMessageManager.

void NLAISCRIPT::CCompilateur::InitStream char *    str,
sint32    size
[inline]
 

Initialize the std::stream.

Definition at line 311 of file compilateur.h.

References _StreamBuffer.

Referenced by CCompilateur.

void NLAISCRIPT::CCompilateur::interrogationEnd   [protected]
 

Definition at line 36 of file yacc.cpp.

References _LastBloc, _LastBloc1, _LastSaveBloc, and _VarState.

sint32 NLAISCRIPT::CCompilateur::isValidateVarName std::list< sint32 > &    ref,
std::list< NLAISCRIPT::CStringType > &    nameHierarchy,
IOpType *&    type
 

Search if a member variable is validete in the lase class parsed.

The variable is define by a CStringType hiarchie name in the nameHierarchy argument (a hiarchie name is a list same as [myBaseClass myClass myVariable] where it define the string myBaseClass.myClass.myVariable = 5). If the var name is validate then ref contain how to make reference and type containe the type of the attribut.

Definition at line 380 of file yacc.cpp.

References _SelfClass, isValidateVarName, and type.

sint32 NLAISCRIPT::CCompilateur::isValidateVarName const NLAIAGENT::IObjectIA   baseClass,
std::list< sint32 > &    ref,
std::list< NLAISCRIPT::CStringType > &    nameHierarchy,
IOpType *&    type
 

Search if a member variable is validete for a class defined by baseClass.

The variable is define by a CStringType hiarchie name in the nameHierarchy argument (a hiarchie name is a list same as [myBaseClass myClass myVariable] where it define the string myBaseClass.myClass.myVariable = 5). If the var name is validate then ref contain how to make reference and type containe the type of the attribut.

Definition at line 385 of file yacc.cpp.

References NLAIAGENT::IObjectIA::getStaticMember, NLAIAGENT::IObjectIA::getStaticMemberIndex, NLAIC::IBasicType::getType, getValidateHierarchyBase, and type.

Referenced by affectation, isValidateVarName, PrivateError, and processingVar.

void NLAISCRIPT::CCompilateur::nameMethodeProcessing   [protected]
 

Definition at line 526 of file yacc.cpp.

References _LastStringParam, _LasVarStr, NLAIAGENT::IBaseGroupType::cpy, and s.

void NLAISCRIPT::CCompilateur::onEndClass   [protected]
 

Definition at line 52 of file compilateur.cpp.

References _SelfClass, and NLAIC::IPointerGestion::release.

bool NLAISCRIPT::CCompilateur::parseError   [inline]
 

You can use this to consult the state of the parser.

Definition at line 374 of file compilateur.h.

References _Error.

sint32 NLAISCRIPT::CCompilateur::PrivateError   [protected]
 

Definition at line 358 of file yacc.cpp.

References _LasAffectationVarStr, _LastBloc, and isValidateVarName.

Referenced by affectation.

sint32 NLAISCRIPT::CCompilateur::processingVar   [protected]
 

Definition at line 82 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, _LasVarStr, _SelfClass, _TypeList, NLAIC::CIdentType::getClassName, NLAIC::CIdentType::getFactory, getMethodConstraint, NLAIAGENT::IObjectIA::getStaticMemberIndex, NLAIAGENT::CStringVarName::getString, NLAIC::IBasicType::getType, getVar, id, isValidateVarName, NLAIC::stringGetBuild, type, NLAISCRIPT::varTypeHeapMember, NLAISCRIPT::varTypeLocal, NLAISCRIPT::varTypeMember, NLAISCRIPT::varTypeStackMember, NLAISCRIPT::yyFlexLexer::yyColone, yyerror, and NLAISCRIPT::yyFlexLexer::yyLine.

void NLAISCRIPT::CCompilateur::pushParamExpression   [protected]
 

Definition at line 389 of file var_control.cpp.

References _ConstraintType, _ExpressionType, _LastBloc, and _Param.

void NLAISCRIPT::CCompilateur::RegisterClass   [protected]
 

Definition at line 539 of file yacc.cpp.

References _ConstraintType, _SelfClass, NLAIAGENT::IVarName::getString, id, and x.

Referenced by definClass.

bool NLAISCRIPT::CCompilateur::registerMethod   [protected]
 

Definition at line 608 of file yacc.cpp.

References _Attrib, _DecalageHeap, _Heap, _LastAffectation, _LastBloc, _MethodName, _Param, _RUN_, _SelfClass, _SEND_, NLAIAGENT::CPAchieve::IdPAchieve, NLAIAGENT::CPAsk::IdPAsk, NLAIAGENT::CPBreak::IdPBreak, NLAIAGENT::CPError::IdPError, NLAIAGENT::CPExec::IdPExec, NLAIAGENT::CPKill::IdPKill, NLAIAGENT::CPTell::IdPTell, isRunMsg, NLAIAGENT::CVectorGroupType::pushFront, r, NLAIC::IPointerGestion::release, NLAIC::stringGetBuild, x, and yyerror.

sint32 NLAISCRIPT::CCompilateur::runMethodConstraint   [protected]
 

Definition at line 286 of file compilateur.cpp.

References _MethodConstraint, errorTypeConstraint, and runTypeConstraint.

Referenced by computContraint.

sint32 NLAISCRIPT::CCompilateur::runTypeConstraint   [protected]
 

Definition at line 260 of file compilateur.cpp.

References _ConstraintType.

Referenced by runMethodConstraint.

void NLAISCRIPT::CCompilateur::setChaineVar   [protected]
 

Definition at line 471 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, NLAISCRIPT::yyFlexLexer::LastyyText, and NLAISCRIPT::varTypeImediate.

void NLAISCRIPT::CCompilateur::setDebugMode bool    bmode [inline]
 

Set the Debug Mode.

Definition at line 407 of file compilateur.h.

References _Debug.

void NLAISCRIPT::CCompilateur::setImediateVar   [protected]
 

Definition at line 452 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, NLAISCRIPT::yyFlexLexer::LastyyNum, and NLAISCRIPT::varTypeImediate.

void NLAISCRIPT::CCompilateur::setImediateVarNill   [protected]
 

Definition at line 439 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, NLAIAGENT::DigitalType::NullOperator, and NLAISCRIPT::varTypeImediate.

void NLAISCRIPT::CCompilateur::setListVar   [protected]
 

Definition at line 463 of file var_control.cpp.

References _FlotingExpressionType, _LastBloc, NLAIAGENT::CGroupType::getType, and NLAISCRIPT::l.

void NLAISCRIPT::CCompilateur::setMethodVar   [protected]
 

Definition at line 492 of file var_control.cpp.

References _FlotingExpressionType, _LastbaseClass, _LastFact, _LastPosHeap, _LastStringParam, _LastTypeCall, _MethodConstraint, _Param, getMethodConstraint, NLAISCRIPT::varForFunc, NLAISCRIPT::yyFlexLexer::yyColone, and NLAISCRIPT::yyFlexLexer::yyLine.

void NLAISCRIPT::CCompilateur::setNewLine   [protected, virtual]
 

Tell the _lastBlock about a newLine (for Debug).

Implements NLAISCRIPT::yyFlexLexer.

Definition at line 479 of file compilateur.cpp.

References _LastBloc, and NLAISCRIPT::yyFlexLexer::yyLine.

Referenced by initMessageManager.

bool NLAISCRIPT::CCompilateur::setParamVarName   [protected]
 

Definition at line 337 of file var_control.cpp.

References _Attrib, _Heap, _LastBaseObjectDef, _LastString, _Param, getTypeOfClass, NLAIC::IPointerGestion::incRef, NLAISCRIPT::yyFlexLexer::LastyyText, pairType, s, NLAIC::stringGetBuild, t, and yyerror.

void NLAISCRIPT::CCompilateur::setPerformative NLAIAGENT::IMessageBase::TPerformatif    p [protected]
 

Definition at line 401 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, NLAIAGENT::IMessageBase::PAchieve, NLAIAGENT::IMessageBase::PAsk, NLAIAGENT::IMessageBase::PBreak, NLAIAGENT::IMessageBase::PError, NLAIAGENT::IMessageBase::PEven, NLAIAGENT::IMessageBase::PExec, NLAIAGENT::IMessageBase::PKill, NLAIAGENT::IMessageBase::PTell, NLAIAGENT::IMessageBase::TPerformatif, and NLAISCRIPT::varTypeImediate.

void NLAISCRIPT::CCompilateur::setStackVar const NLAIC::CIdentType   [protected]
 

Definition at line 482 of file var_control.cpp.

References _FlotingExpressionType, _LastFact, type, and NLAISCRIPT::varForFunc.

void NLAISCRIPT::CCompilateur::setTypeExpression NLAIC::CTypeOfOperator::TTypeOp    op,
const char *    txtOp
[protected]
 

Definition at line 607 of file var_control.cpp.

References _ExpressionType, _FlotingExpressionType, and NLAIC::CTypeOfOperator::TTypeOp.

void NLAISCRIPT::CCompilateur::setTypeExpression   [protected]
 

Definition at line 593 of file var_control.cpp.

References _ExpressionType, and _FlotingExpressionType.

void NLAISCRIPT::CCompilateur::setTypeExpressionD NLAIC::CTypeOfOperator::TTypeOp    op,
const char *    txtOp
[protected]
 

Definition at line 643 of file var_control.cpp.

References _ExpressionOp, _ExpressionType, _FlotingExpressionType, and NLAIC::CTypeOfOperator::TTypeOp.

void NLAISCRIPT::CCompilateur::setTypeExpressionG   [protected]
 

Definition at line 625 of file var_control.cpp.

References _ExpressionOp, _ExpressionType, and _FlotingExpressionType.

sint32 NLAISCRIPT::CCompilateur::typeOfMethod   [protected]
 

Definition at line 765 of file yacc.cpp.

References _ConstraintType, _ExpressionType, _IsVoid, _SelfClass, and haveReturn.

const NLAIAGENT::IObjectIA * NLAISCRIPT::CCompilateur::validateHierarchyMethode std::list< sint32 > &   ,
sint32  ,
const NLAIAGENT::IObjectIA  ,
NLAIAGENT::IBaseGroupType   listName
 

Definition at line 245 of file compilateur.cpp.

References NLAIAGENT::IBaseGroupType::getIterator, NLAIAGENT::CStringType::getStr, getValidateHierarchyBase, and NLAIAGENT::CConstIteratorContener::isInEnd.

Referenced by findMethode.

void NLAISCRIPT::CCompilateur::yyerror char *    Er [inline]
 

Occur when there are a parse error.

Definition at line 363 of file compilateur.h.

References _Error, NLAIC::IIO::Echo, NLAISCRIPT::yyFlexLexer::yyColone, and NLAISCRIPT::yyFlexLexer::yyLine.

Referenced by affectation, affectationMember, buildObject, caseRunMsg, castVariable, computContraint, errorMethodConstraint, getValidateHierarchyBase, processingVar, registerMethod, and setParamVarName.

int NLAISCRIPT::CCompilateur::yyparse  
 

Yacc parser.

Referenced by Compile.

virtual int NLAISCRIPT::CCompilateur::yywrap   [inline, virtual]
 

This function is needed by the lex parser for initializ the read stream (see lex documment).

Implements NLAISCRIPT::yyFlexLexer.

Definition at line 329 of file compilateur.h.

References _StreamBuffer, and NLAISCRIPT::yyFlexLexer::yyin.

Referenced by Compile.


Member Data Documentation

std::list<pairType> NLAISCRIPT::CCompilateur::_Attrib [private]
 

Definition at line 156 of file compilateur.h.

Referenced by clean, registerMethod, and setParamVarName.

bool NLAISCRIPT::CCompilateur::_BaseObjectDef [private]
 

Definition at line 142 of file compilateur.h.

std::list<IConstraint *> NLAISCRIPT::CCompilateur::_ConstraintType [private]
 

Definition at line 159 of file compilateur.h.

Referenced by affectation, affectationMember, allocExpression, cleanTypeConstraint, errorMethodConstraint, errorTypeConstraint, pushParamExpression, RegisterClass, runTypeConstraint, and typeOfMethod.

bool NLAISCRIPT::CCompilateur::_Debug [private]
 

Definition at line 173 of file compilateur.h.

Referenced by CCompilateur, getDebugMode, ifInterrogation, ifInterrogationPoint, initParam, and setDebugMode.

sint32 NLAISCRIPT::CCompilateur::_DecalageHeap [private]
 

Definition at line 157 of file compilateur.h.

Referenced by CCompilateur, getCode, and registerMethod.

tDicoStr* NLAISCRIPT::CCompilateur::_Dictionary [private]
 

Definition at line 198 of file compilateur.h.

bool NLAISCRIPT::CCompilateur::_Error [private]
 

Definition at line 154 of file compilateur.h.

Referenced by CCompilateur, Compile, parseError, and yyerror.

std::list<IOpType *> NLAISCRIPT::CCompilateur::_ExpressionOp [private]
 

Definition at line 166 of file compilateur.h.

Referenced by setTypeExpressionD, and setTypeExpressionG.

IOpType* NLAISCRIPT::CCompilateur::_ExpressionType [private]
 

Definition at line 163 of file compilateur.h.

Referenced by affectation, affectationMember, CCompilateur, clean, ifInterrogation, pushParamExpression, setTypeExpression, setTypeExpressionD, setTypeExpressionG, and typeOfMethod.

std::list<IOpType *> NLAISCRIPT::CCompilateur::_ExpressionTypeTmp [private]
 

Definition at line 165 of file compilateur.h.

NLAILOGIC::CFactBase* NLAISCRIPT::CCompilateur::_FactBase [private]
 

Definition at line 185 of file compilateur.h.

bool NLAISCRIPT::CCompilateur::_FacteurEval [private]
 

Definition at line 168 of file compilateur.h.

Referenced by CCompilateur.

IOpType* NLAISCRIPT::CCompilateur::_FlotingExpressionType [private]
 

Definition at line 164 of file compilateur.h.

Referenced by buildObject, CCompilateur, clean, processingVar, setChaineVar, setImediateVar, setImediateVarNill, setListVar, setMethodVar, setPerformative, setStackVar, setTypeExpression, setTypeExpressionD, and setTypeExpressionG.

std::list<bool> NLAISCRIPT::CCompilateur::_FromStack [private]
 

Definition at line 197 of file compilateur.h.

Referenced by callFunction.

std::list<NLAIFUZZY::CFuzzyVar *> NLAISCRIPT::CCompilateur::_FuzzVars [private]
 

Definition at line 189 of file compilateur.h.

NLAIAGENT::IVarName* NLAISCRIPT::CCompilateur::_Goal [private]
 

Definition at line 187 of file compilateur.h.

CStackPointer NLAISCRIPT::CCompilateur::_Heap [private]
 

Definition at line 151 of file compilateur.h.

Referenced by affectation, getCode, initParam, registerMethod, and setParamVarName.

bool NLAISCRIPT::CCompilateur::_InCond [private]
 

Definition at line 192 of file compilateur.h.

Referenced by CCompilateur.

bool NLAISCRIPT::CCompilateur::_InLineParse [private]
 

Definition at line 196 of file compilateur.h.

Referenced by CCompilateur, and initParam.

bool NLAISCRIPT::CCompilateur::_IsFacteurIsExpression [private]
 

Definition at line 167 of file compilateur.h.

Referenced by CCompilateur.

bool NLAISCRIPT::CCompilateur::_IsVoid [private]
 

Definition at line 169 of file compilateur.h.

Referenced by CCompilateur, and typeOfMethod.

NLAIC::IIO& NLAISCRIPT::CCompilateur::_Iterface [private]
 

IO for set out text or for get an input.

Definition at line 135 of file compilateur.h.

Referenced by Echo.

std::list<NLAISCRIPT::CStringType> NLAISCRIPT::CCompilateur::_LasAffectationVarStr [private]
 

Definition at line 152 of file compilateur.h.

Referenced by affectation, and PrivateError.

NLAIAGENT::IObjectIA* NLAISCRIPT::CCompilateur::_LastAffectation [private]
 

Last affected variable.

Definition at line 148 of file compilateur.h.

Referenced by affectation, and registerMethod.

std::list<const NLAIAGENT::CStringVarName *> NLAISCRIPT::CCompilateur::_LastAsserts [private]
 

Definition at line 181 of file compilateur.h.

IConstraint* NLAISCRIPT::CCompilateur::_LastbaseClass [private]
 

Definition at line 172 of file compilateur.h.

Referenced by callFunction, and setMethodVar.

NLAIAGENT::CStringVarName NLAISCRIPT::CCompilateur::_LastBaseObjectDef [private]
 

Last string.

Definition at line 141 of file compilateur.h.

Referenced by setParamVarName.

IBlock* NLAISCRIPT::CCompilateur::_LastBloc [private]
 

Laste code parsed.

Definition at line 139 of file compilateur.h.

Referenced by addOpCode, addParamCont, addParamRuleCont, affectation, affectationMember, allocExpression, buildObject, callFunction, CCompilateur, clean, getCode, getVar, ifInterrogation, ifInterrogationEnd, ifInterrogationPoint, initParam, interrogationEnd, PrivateError, pushParamExpression, registerMethod, setListVar, and setNewLine.

std::list<IBlock*> NLAISCRIPT::CCompilateur::_LastBloc1 [private]
 

temporary code parsed for code manager.

Definition at line 146 of file compilateur.h.

Referenced by clean, ifInterrogation, ifInterrogationEnd, ifInterrogationPoint, and interrogationEnd.

std::list<IBlock*> NLAISCRIPT::CCompilateur::_LastBloc2 [private]
 

temporary code parsed for code manager.

Definition at line 146 of file compilateur.h.

Referenced by clean, ifInterrogationEnd, and ifInterrogationPoint.

std::list<IBlock*> NLAISCRIPT::CCompilateur::_LastBloc3 [private]
 

temporary code parsed for code manager.

Definition at line 146 of file compilateur.h.

Referenced by clean.

std::list<const NLAIAGENT::CStringVarName *> NLAISCRIPT::CCompilateur::_LastBooleanConds [private]
 

Definition at line 179 of file compilateur.h.

std::list<IOpCode *> NLAISCRIPT::CCompilateur::_LastCodeBranche [private]
 

Definition at line 182 of file compilateur.h.

CFactorType NLAISCRIPT::CCompilateur::_LastFact [private]
 

Type of last statement.

Definition at line 137 of file compilateur.h.

Referenced by allocExpression, processingVar, setChaineVar, setImediateVar, setImediateVarNill, setMethodVar, setPerformative, and setStackVar.

NLAILOGIC::CFactPattern* NLAISCRIPT::CCompilateur::_LastFactPattern [private]
 

Definition at line 186 of file compilateur.h.

std::list<NLAIAGENT::CStringVarName *> NLAISCRIPT::CCompilateur::_LastFuzzyConds [private]
 

Definition at line 180 of file compilateur.h.

sint32 NLAISCRIPT::CCompilateur::_LastFVarIndex [private]
 

Definition at line 190 of file compilateur.h.

std::list< std::list<const NLAIAGENT::IVarName *> > NLAISCRIPT::CCompilateur::_LastLogicParams [private]
 

Definition at line 178 of file compilateur.h.

NLAIAGENT::IMessageBase::TPerformatif NLAISCRIPT::CCompilateur::_LastPerf [private]
 

Definition at line 193 of file compilateur.h.

sint32 NLAISCRIPT::CCompilateur::_LastPosHeap [private]
 

Definition at line 170 of file compilateur.h.

Referenced by callFunction, and setMethodVar.

sint32 NLAISCRIPT::CCompilateur::_LastRegistered [private]
 

Definition at line 155 of file compilateur.h.

std::list<IBlock*> NLAISCRIPT::CCompilateur::_LastSaveBloc [private]
 

temporary code parsed for code manager.

Definition at line 146 of file compilateur.h.

Referenced by clean, ifInterrogation, ifInterrogationEnd, and interrogationEnd.

NLAIAGENT::CStringVarName NLAISCRIPT::CCompilateur::_LastString [private]
 

Last string.

Definition at line 141 of file compilateur.h.

Referenced by setParamVarName.

std::list<NLAIAGENT::IBaseGroupType *> NLAISCRIPT::CCompilateur::_LastStringParam [private]
 

Definition at line 160 of file compilateur.h.

Referenced by buildObject, callFunction, clean, nameMethodeProcessing, and setMethodVar.

sint32 NLAISCRIPT::CCompilateur::_LastTypeCall [private]
 

Definition at line 171 of file compilateur.h.

Referenced by callFunction, and setMethodVar.

std::list<NLAISCRIPT::CStringType> NLAISCRIPT::CCompilateur::_LasVarStr [private]
 

Definition at line 152 of file compilateur.h.

Referenced by nameMethodeProcessing, and processingVar.

std::list<IConstraint *> NLAISCRIPT::CCompilateur::_MethodConstraint [private]
 

Definition at line 158 of file compilateur.h.

Referenced by buildObject, callFunction, cleanMethodConstraint, errorMethodConstraint, getMethodConstraint, runMethodConstraint, and setMethodVar.

std::list<NLAIAGENT::CStringVarName > NLAISCRIPT::CCompilateur::_MethodName [private]
 

Definition at line 162 of file compilateur.h.

Referenced by registerMethod.

sint32 NLAISCRIPT::CCompilateur::_NbLogicParams [private]
 

Definition at line 191 of file compilateur.h.

std::list<CParam *> NLAISCRIPT::CCompilateur::_Param [private]
 

Definition at line 161 of file compilateur.h.

Referenced by buildObject, callFunction, clean, initParam, pushParamExpression, registerMethod, setMethodVar, and setParamVarName.

NLAIAGENT::IObjectIA* NLAISCRIPT::CCompilateur::_ResultCompile [private]
 

Definition at line 175 of file compilateur.h.

Referenced by Compile, and endMessageManager.

CListClass NLAISCRIPT::CCompilateur::_SelfClass [private]
 

List of class define in the souce code.

Definition at line 144 of file compilateur.h.

Referenced by affectation, affectationMember, computContraint, definClass, endMessageManager, findMethode, getCode, getValidateHierarchyBase, initMessageManager, isValidateVarName, onEndClass, processingVar, RegisterClass, registerMethod, and typeOfMethod.

IScriptDebugSource* NLAISCRIPT::CCompilateur::_SourceFileName [private]
 

Definition at line 174 of file compilateur.h.

Referenced by CCompilateur, getCode, and ~CCompilateur.

CStackPointer NLAISCRIPT::CCompilateur::_Stack [private]
 

Definition at line 151 of file compilateur.h.

std::istrstream* NLAISCRIPT::CCompilateur::_StreamBuffer [private]
 

Stream that contain source code.

Definition at line 133 of file compilateur.h.

Referenced by CCompilateur, InitFromFile, InitStream, yywrap, and ~CCompilateur.

std::list<IOpType *> NLAISCRIPT::CCompilateur::_TypeList [private]
 

Definition at line 153 of file compilateur.h.

Referenced by callFunction, cleanTypeList, and processingVar.

CIndexStackPointer NLAISCRIPT::CCompilateur::_VarState [private]
 

This variable allow to simulate the heap allocation.

Definition at line 150 of file compilateur.h.

Referenced by affectation, getCode, ifInterrogation, ifInterrogationEnd, ifInterrogationPoint, initParam, and interrogationEnd.

bool NLAISCRIPT::CCompilateur::haveReturn [private]
 

Definition at line 200 of file compilateur.h.

Referenced by caseRunMsg, CCompilateur, and typeOfMethod.

bool NLAISCRIPT::CCompilateur::is_cond [private]
 

Definition at line 183 of file compilateur.h.

bool NLAISCRIPT::CCompilateur::isRunMsg [private]
 

Definition at line 199 of file compilateur.h.

Referenced by caseRunMsg, CCompilateur, and registerMethod.


The documentation for this class was generated from the following files: