#include <lscript_tree.h>
Inheritance diagram for LLScriptConstantFloat:
Public Member Functions | |
LLScriptConstantFloat (S32 line, S32 col, F32 value) | |
~LLScriptConstantFloat () | |
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 | |
F32 | mValue |
Definition at line 95 of file lscript_tree.h.
Definition at line 98 of file lscript_tree.h.
LLScriptConstantFloat::~LLScriptConstantFloat | ( | ) | [inline] |
Definition at line 103 of file lscript_tree.h.
S32 LLScriptConstantFloat::getSize | ( | ) | [virtual] |
Reimplemented from LLScriptConstant.
Definition at line 245 of file lscript_tree.cpp.
References LSCRIPTDataSize, and LST_FLOATINGPOINT.
void LLScriptConstantFloat::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 203 of file lscript_tree.cpp.
References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addFloat(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LOPC_PUSHARGF, 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.