lscript_byteformat.h File Reference

Shared code between compiler and assembler and LSL. More...

#include "stdtypes.h"

Include dependency graph for lscript_byteformat.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum e_lscript_registers LSCRIPTRegisters
typedef enum e_lscript_op_codes LSCRIPTOpCodesEnum
typedef enum e_lscript_state_event_type LSCRIPTStateEventType
typedef enum e_lscript_types LSCRIPTType
typedef enum e_lscript_runtime_faults LSCRIPTRunTimeFaults
typedef enum e_lscript_runtime_permissions LSCRIPTRunTimePermissions

Enumerations

enum  e_lscript_registers {
  LREG_INVALID, LREG_IP, LREG_VN, LREG_BP,
  LREG_SP, LREG_HR, LREG_HP, LREG_CS,
  LREG_NS, LREG_CE, LREG_IE, LREG_ER,
  LREG_FR, LREG_SLR, LREG_GVR, LREG_GFR,
  LREG_SR, LREG_TM, LREG_PR, LREG_ESR,
  LREG_NCE, LREG_NIE, LREG_NER, LREG_EOF
}
enum  e_lscript_op_codes {
  LOPC_INVALID, LOPC_NOOP, LOPC_POP, LOPC_POPS,
  LOPC_POPL, LOPC_POPV, LOPC_POPQ, LOPC_POPARG,
  LOPC_POPIP, LOPC_POPBP, LOPC_POPSP, LOPC_POPSLR,
  LOPC_DUP, LOPC_DUPS, LOPC_DUPL, LOPC_DUPV,
  LOPC_DUPQ, LOPC_STORE, LOPC_STORES, LOPC_STOREL,
  LOPC_STOREV, LOPC_STOREQ, LOPC_STOREG, LOPC_STOREGS,
  LOPC_STOREGL, LOPC_STOREGV, LOPC_STOREGQ, LOPC_LOADP,
  LOPC_LOADSP, LOPC_LOADLP, LOPC_LOADVP, LOPC_LOADQP,
  LOPC_LOADGP, LOPC_LOADGLP, LOPC_LOADGSP, LOPC_LOADGVP,
  LOPC_LOADGQP, LOPC_PUSH, LOPC_PUSHS, LOPC_PUSHL,
  LOPC_PUSHV, LOPC_PUSHQ, LOPC_PUSHG, LOPC_PUSHGS,
  LOPC_PUSHGL, LOPC_PUSHGV, LOPC_PUSHGQ, LOPC_PUSHIP,
  LOPC_PUSHBP, LOPC_PUSHSP, LOPC_PUSHARGB, LOPC_PUSHARGI,
  LOPC_PUSHARGF, LOPC_PUSHARGS, LOPC_PUSHARGV, LOPC_PUSHARGQ,
  LOPC_PUSHE, LOPC_PUSHEV, LOPC_PUSHEQ, LOPC_PUSHARGE,
  LOPC_ADD, LOPC_SUB, LOPC_MUL, LOPC_DIV,
  LOPC_MOD, LOPC_EQ, LOPC_NEQ, LOPC_LEQ,
  LOPC_GEQ, LOPC_LESS, LOPC_GREATER, LOPC_BITAND,
  LOPC_BITOR, LOPC_BITXOR, LOPC_BOOLAND, LOPC_BOOLOR,
  LOPC_NEG, LOPC_BITNOT, LOPC_BOOLNOT, LOPC_JUMP,
  LOPC_JUMPIF, LOPC_JUMPNIF, LOPC_STATE, LOPC_CALL,
  LOPC_RETURN, LOPC_CAST, LOPC_STACKTOS, LOPC_STACKTOL,
  LOPC_PRINT, LOPC_CALLLIB, LOPC_CALLLIB_TWO_BYTE, LOPC_SHL,
  LOPC_SHR, LOPC_EOF
}
enum  e_lscript_state_event_type {
  LSTT_NULL, LSTT_STATE_ENTRY, LSTT_STATE_EXIT, LSTT_TOUCH_START,
  LSTT_TOUCH, LSTT_TOUCH_END, LSTT_COLLISION_START, LSTT_COLLISION,
  LSTT_COLLISION_END, LSTT_LAND_COLLISION_START, LSTT_LAND_COLLISION, LSTT_LAND_COLLISION_END,
  LSTT_TIMER, LSTT_CHAT, LSTT_REZ, LSTT_SENSOR,
  LSTT_NO_SENSOR, LSTT_CONTROL, LSTT_MONEY, LSTT_EMAIL,
  LSTT_AT_TARGET, LSTT_NOT_AT_TARGET, LSTT_AT_ROT_TARGET, LSTT_NOT_AT_ROT_TARGET,
  LSTT_RTPERMISSIONS, LSTT_INVENTORY, LSTT_ATTACH, LSTT_DATASERVER,
  LSTT_LINK_MESSAGE, LSTT_MOVING_START, LSTT_MOVING_END, LSTT_OBJECT_REZ,
  LSTT_REMOTE_DATA, LSTT_HTTP_RESPONSE, LSTT_EOF, LSTT_STATE_BEGIN = LSTT_STATE_ENTRY,
  LSTT_STATE_END = LSTT_EOF
}
enum  e_lscript_types {
  LST_NULL, LST_INTEGER, LST_FLOATINGPOINT, LST_STRING,
  LST_KEY, LST_VECTOR, LST_QUATERNION, LST_LIST,
  LST_UNDEFINED, LST_EOF
}
enum  e_lscript_runtime_faults {
  LSRF_INVALID, LSRF_MATH, LSRF_STACK_HEAP_COLLISION, LSRF_BOUND_CHECK_ERROR,
  LSRF_HEAP_ERROR, LSRF_VERSION_MISMATCH, LSRF_MISSING_INVENTORY, LSRF_SANDBOX,
  LSRF_CHAT_OVERRUN, LSRF_TOO_MANY_LISTENS, LSRF_NESTING_LISTS, LSRF_EOF
}
enum  e_lscript_runtime_permissions {
  SCRIPT_PERMISSION_DEBIT, SCRIPT_PERMISSION_TAKE_CONTROLS, SCRIPT_PERMISSION_REMAP_CONTROLS, SCRIPT_PERMISSION_TRIGGER_ANIMATION,
  SCRIPT_PERMISSION_ATTACH, SCRIPT_PERMISSION_RELEASE_OWNERSHIP, SCRIPT_PERMISSION_CHANGE_LINKS, SCRIPT_PERMISSION_CHANGE_JOINTS,
  SCRIPT_PERMISSION_CHANGE_PERMISSIONS, SCRIPT_PERMISSION_TRACK_CAMERA, SCRIPT_PERMISSION_CONTROL_CAMERA, SCRIPT_PERMISSION_EOF
}

Functions

S32 get_event_handler_jump_position (U64 bit_field, LSCRIPTStateEventType type)
S32 get_number_of_event_handlers (U64 bit_field)

Variables

const S32 LSL2_VERSION_NUMBER = 0x0200
const S32 LSL2_VERSION1_END_NUMBER = 0x0101
const S32 LSL2_VERSION2_START_NUMBER = 0x0200
const S32 LSL2_MAJOR_VERSION_ONE = 1
const S32 LSL2_MAJOR_VERSION_TWO = 2
const S32 LSL2_CURRENT_MAJOR_VERSION = LSL2_MAJOR_VERSION_TWO
const S32 TOP_OF_MEMORY = 16384
const S32 gLSCRIPTRegisterAddresses [LREG_EOF]
const char *const gLSCRIPTRegisterNames [LREG_EOF]
const U8 LSCRIPTOpCodes [LOPC_EOF]
const U64 LSCRIPTStateBitField [LSTT_EOF]
const U8 LSCRIPTTypeByte [LST_EOF]
const U8 LSCRIPTTypeHi4Bits [LST_EOF]
const char *const LSCRIPTTypeNames [LST_EOF]
const S32 LSCRIPTDataSize [LST_EOF]
char * LSCRIPTRunTimeFaultStrings [LSRF_EOF]
const S32 LSCRIPTRunTimeFaultBits [LSRF_EOF]
const U32 LSCRIPTRunTimePermissionBits [SCRIPT_PERMISSION_EOF]


Detailed Description

Shared code between compiler and assembler and LSL.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file lscript_byteformat.h.


Typedef Documentation

typedef enum e_lscript_op_codes LSCRIPTOpCodesEnum

typedef enum e_lscript_registers LSCRIPTRegisters

typedef enum e_lscript_runtime_faults LSCRIPTRunTimeFaults

typedef enum e_lscript_runtime_permissions LSCRIPTRunTimePermissions

typedef enum e_lscript_state_event_type LSCRIPTStateEventType

typedef enum e_lscript_types LSCRIPTType


Enumeration Type Documentation

enum e_lscript_op_codes

Enumerator:
LOPC_INVALID 
LOPC_NOOP 
LOPC_POP 
LOPC_POPS 
LOPC_POPL 
LOPC_POPV 
LOPC_POPQ 
LOPC_POPARG 
LOPC_POPIP 
LOPC_POPBP 
LOPC_POPSP 
LOPC_POPSLR 
LOPC_DUP 
LOPC_DUPS 
LOPC_DUPL 
LOPC_DUPV 
LOPC_DUPQ 
LOPC_STORE 
LOPC_STORES 
LOPC_STOREL 
LOPC_STOREV 
LOPC_STOREQ 
LOPC_STOREG 
LOPC_STOREGS 
LOPC_STOREGL 
LOPC_STOREGV 
LOPC_STOREGQ 
LOPC_LOADP 
LOPC_LOADSP 
LOPC_LOADLP 
LOPC_LOADVP 
LOPC_LOADQP 
LOPC_LOADGP 
LOPC_LOADGLP 
LOPC_LOADGSP 
LOPC_LOADGVP 
LOPC_LOADGQP 
LOPC_PUSH 
LOPC_PUSHS 
LOPC_PUSHL 
LOPC_PUSHV 
LOPC_PUSHQ 
LOPC_PUSHG 
LOPC_PUSHGS 
LOPC_PUSHGL 
LOPC_PUSHGV 
LOPC_PUSHGQ 
LOPC_PUSHIP 
LOPC_PUSHBP 
LOPC_PUSHSP 
LOPC_PUSHARGB 
LOPC_PUSHARGI 
LOPC_PUSHARGF 
LOPC_PUSHARGS 
LOPC_PUSHARGV 
LOPC_PUSHARGQ 
LOPC_PUSHE 
LOPC_PUSHEV 
LOPC_PUSHEQ 
LOPC_PUSHARGE 
LOPC_ADD 
LOPC_SUB 
LOPC_MUL 
LOPC_DIV 
LOPC_MOD 
LOPC_EQ 
LOPC_NEQ 
LOPC_LEQ 
LOPC_GEQ 
LOPC_LESS 
LOPC_GREATER 
LOPC_BITAND 
LOPC_BITOR 
LOPC_BITXOR 
LOPC_BOOLAND 
LOPC_BOOLOR 
LOPC_NEG 
LOPC_BITNOT 
LOPC_BOOLNOT 
LOPC_JUMP 
LOPC_JUMPIF 
LOPC_JUMPNIF 
LOPC_STATE 
LOPC_CALL 
LOPC_RETURN 
LOPC_CAST 
LOPC_STACKTOS 
LOPC_STACKTOL 
LOPC_PRINT 
LOPC_CALLLIB 
LOPC_CALLLIB_TWO_BYTE 
LOPC_SHL 
LOPC_SHR 
LOPC_EOF 

Definition at line 131 of file lscript_byteformat.h.

enum e_lscript_registers

Enumerator:
LREG_INVALID 
LREG_IP 
LREG_VN 
LREG_BP 
LREG_SP 
LREG_HR 
LREG_HP 
LREG_CS 
LREG_NS 
LREG_CE 
LREG_IE 
LREG_ER 
LREG_FR 
LREG_SLR 
LREG_GVR 
LREG_GFR 
LREG_SR 
LREG_TM 
LREG_PR 
LREG_ESR 
LREG_NCE 
LREG_NIE 
LREG_NER 
LREG_EOF 

Definition at line 49 of file lscript_byteformat.h.

enum e_lscript_runtime_faults

Enumerator:
LSRF_INVALID 
LSRF_MATH 
LSRF_STACK_HEAP_COLLISION 
LSRF_BOUND_CHECK_ERROR 
LSRF_HEAP_ERROR 
LSRF_VERSION_MISMATCH 
LSRF_MISSING_INVENTORY 
LSRF_SANDBOX 
LSRF_CHAT_OVERRUN 
LSRF_TOO_MANY_LISTENS 
LSRF_NESTING_LISTS 
LSRF_EOF 

Definition at line 502 of file lscript_byteformat.h.

enum e_lscript_runtime_permissions

Enumerator:
SCRIPT_PERMISSION_DEBIT 
SCRIPT_PERMISSION_TAKE_CONTROLS 
SCRIPT_PERMISSION_REMAP_CONTROLS 
SCRIPT_PERMISSION_TRIGGER_ANIMATION 
SCRIPT_PERMISSION_ATTACH 
SCRIPT_PERMISSION_RELEASE_OWNERSHIP 
SCRIPT_PERMISSION_CHANGE_LINKS 
SCRIPT_PERMISSION_CHANGE_JOINTS 
SCRIPT_PERMISSION_CHANGE_PERMISSIONS 
SCRIPT_PERMISSION_TRACK_CAMERA 
SCRIPT_PERMISSION_CONTROL_CAMERA 
SCRIPT_PERMISSION_EOF 

Definition at line 535 of file lscript_byteformat.h.

enum e_lscript_state_event_type

Enumerator:
LSTT_NULL 
LSTT_STATE_ENTRY 
LSTT_STATE_EXIT 
LSTT_TOUCH_START 
LSTT_TOUCH 
LSTT_TOUCH_END 
LSTT_COLLISION_START 
LSTT_COLLISION 
LSTT_COLLISION_END 
LSTT_LAND_COLLISION_START 
LSTT_LAND_COLLISION 
LSTT_LAND_COLLISION_END 
LSTT_TIMER 
LSTT_CHAT 
LSTT_REZ 
LSTT_SENSOR 
LSTT_NO_SENSOR 
LSTT_CONTROL 
LSTT_MONEY 
LSTT_EMAIL 
LSTT_AT_TARGET 
LSTT_NOT_AT_TARGET 
LSTT_AT_ROT_TARGET 
LSTT_NOT_AT_ROT_TARGET 
LSTT_RTPERMISSIONS 
LSTT_INVENTORY 
LSTT_ATTACH 
LSTT_DATASERVER 
LSTT_LINK_MESSAGE 
LSTT_MOVING_START 
LSTT_MOVING_END 
LSTT_OBJECT_REZ 
LSTT_REMOTE_DATA 
LSTT_HTTP_RESPONSE 
LSTT_EOF 
LSTT_STATE_BEGIN 
LSTT_STATE_END 

Definition at line 326 of file lscript_byteformat.h.

enum e_lscript_types

Enumerator:
LST_NULL 
LST_INTEGER 
LST_FLOATINGPOINT 
LST_STRING 
LST_KEY 
LST_VECTOR 
LST_QUATERNION 
LST_LIST 
LST_UNDEFINED 
LST_EOF 

Definition at line 436 of file lscript_byteformat.h.


Function Documentation

S32 get_event_handler_jump_position ( U64  bit_field,
LSCRIPTStateEventType  type 
) [inline]

Definition at line 406 of file lscript_byteformat.h.

References count, LSTT_STATE_ENTRY, and S32.

Referenced by get_event_stack_size(), get_state_event_opcoode_start(), and LLScriptEventHandler::recurse().

S32 get_number_of_event_handlers ( U64  bit_field  )  [inline]

Definition at line 421 of file lscript_byteformat.h.

References count, LSTT_EOF, and S32.

Referenced by LLScriptState::recurse().


Variable Documentation

const S32 gLSCRIPTRegisterAddresses[LREG_EOF]

Initial value:

        
{
        0,                      
        4,                      
        8,                      
        12,                     
        16,                     
        20,                     
        24,                     
        28,                     
        32,                     
        36,                     
        40,                     
        44,                     
        48,                     
        52,                     
        56,                     
        60,                     
        72,                     
        0,                      
        64,                     
        68,                     
        76,                     
        84,                     
        92,                     
}

Definition at line 77 of file lscript_byteformat.h.

Referenced by add_register_fp(), get_event_register(), get_register(), get_register_fp(), get_register_u64(), set_event_register(), set_register(), set_register_fp(), and set_register_u64().

const char* const gLSCRIPTRegisterNames[LREG_EOF]

Initial value:

{
        "INVALID",              
        "IP",                   
        "VN",                   
        "BP",                   
        "SP",                   
        "HR",                   
        "HP",                   
        "CS",                   
        "NS",                   
        "CE",                   
        "IE",                   
        "ER",                   
        "FR",                   
        "SLR",                  
        "GVR",                  
        "GFR",                  
        "SR",                   
        "TM",                   
        "PR",                   
        "ESR",                  
        "NCE",                  
        "NIE",                  
        "NER",                  
}

Definition at line 104 of file lscript_byteformat.h.

Referenced by LLScriptLSOParse::printRegisters().

const S32 LSCRIPTDataSize[LST_EOF]

Initial value:

{
        0,      
        4,      
        4,      
        4,      
        4,      
        12,     
        16,     
        4,      
        0       
}

Definition at line 488 of file lscript_byteformat.h.

Referenced by get_event_stack_size(), get_handled_events(), get_state_event_opcoode_start(), LLScriptConstantFloat::getSize(), LLScriptConstantInteger::getSize(), LLScriptType::getSize(), lsa_create_data_block(), lscript_global_get(), lscript_global_store(), lscript_local_get(), lscript_local_store(), lscript_push(), LLScriptLSOParse::printStates(), LLScriptScript::recurse(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptEventHandler::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), LLScriptJump::recurse(), LLScriptGlobalVariable::recurse(), LLScriptSAIdentifier::recurse(), run_pop(), run_popq(), run_popv(), run_pushe(), run_pusheq(), run_pushev(), safe_instruction_bytestream2float(), safe_instruction_bytestream2integer(), safe_instruction_bytestream2quaternion(), safe_instruction_bytestream2vector(), safe_instruction_float2bytestream(), safe_instruction_integer2bytestream(), safe_instruction_quaternion2bytestream(), and safe_instruction_vector2bytestream().

const U8 LSCRIPTOpCodes[LOPC_EOF]

Definition at line 229 of file lscript_byteformat.h.

Referenced by add_exit_pops(), add_return(), cast2stack(), LLScriptExecute::init(), LLScriptLSOParse::initOpCodePrinting(), LLScriptDeclaration::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), LLScriptExpressionStatement::recurse(), LLScriptReturn::recurse(), LLScriptJump::recurse(), LLScriptStateChange::recurse(), LLScriptPrint::recurse(), LLScriptFunctionCall::recurse(), LLScriptPostDecrement::recurse(), LLScriptPostIncrement::recurse(), LLScriptListInitializer::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptPreDecrement::recurse(), LLScriptPreIncrement::recurse(), LLScriptBitNot::recurse(), LLScriptBooleanNot::recurse(), LLScriptUnaryMinus::recurse(), LLScriptShiftRight::recurse(), LLScriptShiftLeft::recurse(), LLScriptBooleanOr::recurse(), LLScriptBooleanAnd::recurse(), LLScriptBitXor::recurse(), LLScriptBitOr::recurse(), LLScriptBitAnd::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), LLScriptModAssignment::recurse(), LLScriptDivAssignment::recurse(), LLScriptMulAssignment::recurse(), LLScriptSubAssignment::recurse(), LLScriptAddAssignment::recurse(), LLScriptLValue::recurse(), LLScriptListExpressionList::recurse(), LLScriptFuncExpressionList::recurse(), LLScriptForExpressionList::recurse(), LLScriptConstantString::recurse(), LLScriptConstantFloat::recurse(), LLScriptConstantInteger::recurse(), and store2stack().

const S32 LSCRIPTRunTimeFaultBits[LSRF_EOF]

Initial value:

{
        0,              
        1,              
        2,              
        3,              
        4,              
        5,              
        6,              
        7,              
        8,              
        9,              
        10,             
}

Definition at line 520 of file lscript_byteformat.h.

Referenced by set_fault().

char* LSCRIPTRunTimeFaultStrings[LSRF_EOF]

Definition at line 46 of file lscript_execute.cpp.

Referenced by LLScriptExecute::run().

const U32 LSCRIPTRunTimePermissionBits[SCRIPT_PERMISSION_EOF]

Initial value:

{
        (0x1 << 1),     
        (0x1 << 2),     
        (0x1 << 3),     
        (0x1 << 4),     
        (0x1 << 5),     
        (0x1 << 6),     
        (0x1 << 7),     
        (0x1 << 8),     
        (0x1 << 9),     
        (0x1 << 10),
        (0x1 << 11),
}

Definition at line 551 of file lscript_byteformat.h.

Referenced by notify_cautioned_script_question(), and process_script_question().

const U64 LSCRIPTStateBitField[LSTT_EOF]

Definition at line 368 of file lscript_byteformat.h.

Referenced by LLScriptScriptCodeChunk::build(), LLScriptLSOParse::printStates(), LLScriptEventHandler::recurse(), LLScriptExecute::run(), and run_state().

const U8 LSCRIPTTypeByte[LST_EOF]

Initial value:

Definition at line 450 of file lscript_byteformat.h.

Referenced by cast2stack(), operation2stack(), print_type(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), LLScriptPrint::recurse(), LLScriptFunctionCall::recurse(), LLScriptPostDecrement::recurse(), LLScriptPostIncrement::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptPreDecrement::recurse(), LLScriptPreIncrement::recurse(), LLScriptUnaryMinus::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), LLScriptListExpressionList::recurse(), LLScriptFuncExpressionList::recurse(), and LLScriptGlobalVariable::recurse().

const U8 LSCRIPTTypeHi4Bits[LST_EOF]

Initial value:

Definition at line 463 of file lscript_byteformat.h.

Referenced by cast2stack(), operation2stack(), LLScriptFunctionCall::recurse(), LLScriptPostDecrement::recurse(), LLScriptPostIncrement::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptPreDecrement::recurse(), LLScriptPreIncrement::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), and LLScriptFuncExpressionList::recurse().

const char* const LSCRIPTTypeNames[LST_EOF]

Initial value:

        
{
        "VOID",
        "integer",
        "float",
        "string",
        "key",
        "vector",
        "quaternion",
        "list",
        "invalid"
}

Definition at line 475 of file lscript_byteformat.h.

Referenced by lsa_fprint_heap(), lsa_print_heap(), print_add(), print_cast(), print_div(), print_eq(), print_geq(), print_greater(), print_jumpif(), print_jumpnif(), print_leq(), print_less(), print_mod(), print_mul(), print_neg(), print_neq(), print_print(), print_sub(), LLScriptLSOParse::printGlobalFunctions(), LLScriptPrint::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptUnaryMinus::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), LLScriptModAssignment::recurse(), LLScriptDivAssignment::recurse(), LLScriptMulAssignment::recurse(), LLScriptSubAssignment::recurse(), LLScriptAddAssignment::recurse(), LLScriptFuncExpressionList::recurse(), and LLScriptType::recurse().

const S32 LSL2_CURRENT_MAJOR_VERSION = LSL2_MAJOR_VERSION_TWO

Definition at line 45 of file lscript_byteformat.h.

Referenced by LLScriptScriptCodeChunk::build(), LLScriptScript::recurse(), and LLScriptState::recurse().

const S32 LSL2_MAJOR_VERSION_ONE = 1

Definition at line 43 of file lscript_byteformat.h.

Referenced by get_event_stack_size(), get_state_event_opcoode_start(), and LLScriptLSOParse::printRegisters().

const S32 LSL2_MAJOR_VERSION_TWO = 2

Definition at line 44 of file lscript_byteformat.h.

Referenced by LLScriptScriptCodeChunk::build(), get_event_stack_size(), get_state_event_opcoode_start(), LLScriptLSOParse::printRegisters(), LLScriptLSOParse::printStates(), LLScriptScript::recurse(), and LLScriptState::recurse().

const S32 LSL2_VERSION1_END_NUMBER = 0x0101

Definition at line 40 of file lscript_byteformat.h.

Referenced by get_event_stack_size(), get_handled_events(), get_state_event_opcoode_start(), LLScriptLSOParse::printRegisters(), LLScriptExecute::run(), and run_state().

const S32 LSL2_VERSION2_START_NUMBER = 0x0200

Definition at line 41 of file lscript_byteformat.h.

const S32 LSL2_VERSION_NUMBER = 0x0200

Definition at line 39 of file lscript_byteformat.h.

Referenced by LLScriptScriptCodeChunk::build(), get_event_stack_size(), get_handled_events(), get_state_event_opcoode_start(), LLScriptLSOParse::printRegisters(), LLScriptExecute::run(), and run_state().

const S32 TOP_OF_MEMORY = 16384

Definition at line 47 of file lscript_byteformat.h.

Referenced by get_event_stack_size(), get_state_event_opcoode_start(), LLScriptLibData::LLScriptLibData(), LLScriptScript::recurse(), reset_hp_to_safe_spot(), and LLScriptLibData::set().


Generated on Thu Jul 1 06:10:52 2010 for Second Life Viewer by  doxygen 1.4.7