Binding of RoR::GenericDocContext; Traverses document tokens; See 'demo_script.as' for an example.
bool setTokComment(int offset, const string &in str)
float getTokFloat(int offset=0)
bool insertToken(int offset=0)
Inserts TokenType::NONE;.
void appendTokKeyword(const string &in str)
bool gettokBool(int offset=0)
GenericDocContext(GenericDocumentPtr@ d)
string getTokString(int offset=0)
void appendTokBool(bool val)
bool eraseToken(int offset=0)
bool setTokFloat(int offset, float val)
void appendTokLineBreak()
void appendTokens(int count)
Appends a series of TokenType::NONE and sets Pos at the first one added; use setTok* functions to fil...
bool setTokInt(int offset, int val)
string getTokKeyword(int offset=0)
bool setTokLineBreak(int offset)
float getTokInt(int offset=0)
void appendTokFloat(float val)
bool isTokKeyword(int offset=0)
void appendTokComment(const string &in str)
bool isTokComment(int offset=0)
bool isTokFloat(int offset=0)
bool isTokString(int offset=0)
bool setTokKeyword(int offset, const string &in str)
void appendTokInt(float val)
bool isTokLineBreak(int offset=0)
void appendTokString(const string &in str)
bool setTokString(int offset, const string &in str)
TokenType tokenType(int offset=0)
bool isTokInt(int offset=0)
bool setTokBool(int offset, bool val)
bool endOfFile(int offset=0)
string getTokComment(int offset=0)
bool isTokBool(int offset=0)
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
TokenType
Binding of RoR::TokenType, for use with Script2Game::GenericDocContextClass.