|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::cfgscript::TokenizedSource Class Reference#include <SourceTokenizer.h>
Inheritance diagram for acdk::cfgscript::TokenizedSource:
List of all members.
Detailed Description
before executing a CfgScript the source will be parsed to token.
This class is only used inside the interpreter.
Member Typedef Documentation
Constructor & Destructor Documentation
acdk::cfgscript::TokenizedSource::TokenizedSource |
( |
INP(RString) |
fileName, |
|
|
int |
flags = 0 |
|
) |
|
|
acdk::cfgscript::TokenizedSource::TokenizedSource |
( |
INP(RString) |
fileName, |
|
|
INP(RString) |
sourceText, |
|
|
int |
flags = 0 |
|
) |
|
|
acdk::cfgscript::TokenizedSource::TokenizedSource |
( |
INP(RString) |
fileName, |
|
|
INP(acdk::io::RReader) |
sourceReader, |
|
|
int |
flags = 0 |
|
) |
|
|
Member Function Documentation
RString acdk::cfgscript::TokenizedSource::_dumpTokens |
( |
|
) |
|
|
void acdk::cfgscript::TokenizedSource::_loadSource |
( |
|
) |
[protected] |
|
int acdk::cfgscript::TokenizedSource::_parseSource |
( |
|
) |
[protected] |
|
void acdk::cfgscript::TokenizedSource::_parseTemplate |
( |
|
) |
[protected] |
|
int acdk::cfgscript::TokenizedSource::_parseTemplateText |
( |
|
) |
[protected] |
|
RString acdk::cfgscript::TokenizedSource::getCodeOfLine |
( |
int |
lineNo |
) |
|
|
|
return Nil if line cannot be found
|
virtual void acdk::cfgscript::TokenizedSource::getCollectableFields |
( |
FieldReferences & |
fields |
) |
[virtual] |
|
|
retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
Reimplemented from acdk::lang::ObjectBase. |
int acdk::cfgscript::TokenizedSource::getEndTokenIdx |
( |
|
) |
[inline] |
|
SourceToken& acdk::cfgscript::TokenizedSource::getSourceToken |
( |
int |
tkidx |
) |
[inline] |
|
void acdk::cfgscript::TokenizedSource::parseAll |
( |
|
) |
|
|
Member Data Documentation
|
STFlags currently only 0 or STParseTemplate.
|
|
|