#include <lscript_tree.h>
Inheritance diagram for LLScriptConstant:
Public Member Functions | |
LLScriptConstant (S32 line, S32 col, LSCRIPTType type) | |
virtual | ~LLScriptConstant () |
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) |
S32 | getSize () |
Public Attributes | |
LSCRIPTType | mType |
Definition at line 63 of file lscript_tree.h.
LLScriptConstant::LLScriptConstant | ( | S32 | line, | |
S32 | col, | |||
LSCRIPTType | type | |||
) | [inline] |
Definition at line 66 of file lscript_tree.h.
virtual LLScriptConstant::~LLScriptConstant | ( | ) | [inline, virtual] |
Definition at line 71 of file lscript_tree.h.
S32 LLScriptConstant::getSize | ( | ) | [virtual] |
Implements LLScriptFilePosition.
Reimplemented in LLScriptConstantInteger, LLScriptConstantFloat, and LLScriptConstantString.
Definition at line 147 of file lscript_tree.cpp.
Referenced by LLScriptSAConstant::getSize().
void LLScriptConstant::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 LLScriptConstantInteger, LLScriptConstantFloat, and LLScriptConstantString.
Definition at line 130 of file lscript_tree.cpp.
References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_EMIT_ASSEMBLY, and LSCP_PRETTY_PRINT.
Referenced by LLScriptConstantExpression::recurse(), and LLScriptSAConstant::recurse().
Definition at line 76 of file lscript_tree.h.
Referenced by LLScriptConstantString::recurse(), LLScriptConstantFloat::recurse(), and LLScriptConstantInteger::recurse().