#include <lscript_tree.h>
Inheritance diagram for LLScriptConstantInteger:
Public Member Functions | |
LLScriptConstantInteger (S32 line, S32 col, S32 value) | |
~LLScriptConstantInteger () | |
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 | |
S32 | mValue |
Definition at line 79 of file lscript_tree.h.
Definition at line 82 of file lscript_tree.h.
LLScriptConstantInteger::~LLScriptConstantInteger | ( | ) | [inline] |
Definition at line 87 of file lscript_tree.h.
S32 LLScriptConstantInteger::getSize | ( | ) | [virtual] |
Reimplemented from LLScriptConstant.
Definition at line 198 of file lscript_tree.cpp.
References LSCRIPTDataSize, and LST_INTEGER.
void LLScriptConstantInteger::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] |
Reimplemented from LLScriptConstant.
Definition at line 155 of file lscript_tree.cpp.
References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addInteger(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LOPC_PUSHARGI, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_LIST_BUILD_SIMPLE, LSCP_PRETTY_PRINT, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LLScriptConstant::mType, and mValue.