#include <lscript_tree.h>
Inheritance diagram for LLScriptStatement:
Public Member Functions | |
LLScriptStatement (S32 line, S32 col, LSCRIPTStatementType type) | |
virtual | ~LLScriptStatement () |
void | addStatement (LLScriptStatement *event) |
void | recurse (FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
void | gonext (FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
S32 | getSize () |
Public Attributes | |
LSCRIPTStatementType | mType |
LLScriptStatement * | mNextp |
LLScriptScope * | mStatementScope |
BOOL | mAllowDeclarations |
Definition at line 1789 of file lscript_tree.h.
LLScriptStatement::LLScriptStatement | ( | S32 | line, | |
S32 | col, | |||
LSCRIPTStatementType | type | |||
) | [inline] |
Definition at line 1792 of file lscript_tree.h.
virtual LLScriptStatement::~LLScriptStatement | ( | ) | [inline, virtual] |
void LLScriptStatement::addStatement | ( | LLScriptStatement * | event | ) |
S32 LLScriptStatement::getSize | ( | ) | [virtual] |
Implements LLScriptFilePosition.
Reimplemented in LLScriptStatementSequence, LLScriptNOOP, LLScriptStateChange, LLScriptJump, LLScriptLabel, LLScriptReturn, LLScriptExpressionStatement, LLScriptIf, LLScriptIfElse, LLScriptFor, LLScriptDoWhile, LLScriptWhile, LLScriptDeclaration, and LLScriptCompoundStatement.
Definition at line 7346 of file lscript_tree.cpp.
void LLScriptStatement::gonext | ( | FILE * | fp, | |
S32 | tabs, | |||
S32 | tabsize, | |||
LSCRIPTCompilePass | pass, | |||
LSCRIPTPruneType | ptype, | |||
BOOL & | prunearg, | |||
LLScriptScope * | scope, | |||
LSCRIPTType & | type, | |||
LSCRIPTType | basetype, | |||
U64 & | count, | |||
LLScriptByteCodeChunk * | chunk, | |||
LLScriptByteCodeChunk * | heap, | |||
S32 | stacksize, | |||
LLScriptScopeEntry * | entry, | |||
S32 | entrycount, | |||
LLScriptLibData ** | ldata | |||
) |
Definition at line 7352 of file lscript_tree.cpp.
References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_EMIT_ASSEMBLY, LSCP_PRETTY_PRINT, mNextp, and NULL.
Referenced by LLScriptCompoundStatement::recurse(), LLScriptDeclaration::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), LLScriptExpressionStatement::recurse(), LLScriptReturn::recurse(), LLScriptLabel::recurse(), LLScriptJump::recurse(), LLScriptStateChange::recurse(), LLScriptNOOP::recurse(), and LLScriptStatementSequence::recurse().
void LLScriptStatement::recurse | ( | FILE * | fp, | |
S32 | tabs, | |||
S32 | tabsize, | |||
LSCRIPTCompilePass | pass, | |||
LSCRIPTPruneType | ptype, | |||
BOOL & | prunearg, | |||
LLScriptScope * | scope, | |||
LSCRIPTType & | type, | |||
LSCRIPTType | basetype, | |||
U64 & | count, | |||
LLScriptByteCodeChunk * | chunk, | |||
LLScriptByteCodeChunk * | heap, | |||
S32 | stacksize, | |||
LLScriptScopeEntry * | entry, | |||
S32 | entrycount, | |||
LLScriptLibData ** | ldata | |||
) | [virtual] |
Implements LLScriptFilePosition.
Reimplemented in LLScriptStatementSequence, LLScriptNOOP, LLScriptStateChange, LLScriptJump, LLScriptLabel, LLScriptReturn, LLScriptExpressionStatement, LLScriptIf, LLScriptIfElse, LLScriptFor, LLScriptDoWhile, LLScriptWhile, LLScriptDeclaration, and LLScriptCompoundStatement.
Definition at line 7341 of file lscript_tree.cpp.
Referenced by LLScriptGlobalFunctions::recurse(), LLScriptEventHandler::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), and LLScriptStatementSequence::recurse().
Definition at line 1811 of file lscript_tree.h.
Referenced by LLScriptCompoundStatement::recurse(), and ~LLScriptStatement().
Reimplemented in LLScriptReturn, LLScriptIf, LLScriptIfElse, LLScriptFor, LLScriptDoWhile, LLScriptWhile, and LLScriptDeclaration.
Definition at line 1809 of file lscript_tree.h.