|
ScriptStack 1.0.5
|
Public Member Functions | |
| override string | ToString () |
Static Public Member Functions | |
| static Operand | Literal (object val) |
| static Operand | Variable (string identifier) |
| static Operand | MemberVariable (string identifier, object val) |
| static Operand | CreatePointer (string identifier, string pointer) |
| static Operand | AllocateInstructionPointer (Instruction instruction) |
| static Operand | AllocateFunctionPointer (Function function) |
| static Operand | AllocateRoutinePointer (Routine routine) |
Properties | |
| OperandType | Type [get, set] |
| object | Value [get] |
| object | Member [get, set] |
| string | Pointer [get, set] |
| Instruction | InstructionPointer [get, set] |
| Function | FunctionPointer [get, set] |
| Routine | RoutinePointer [get, set] |
Private Member Functions | |
| Operand (OperandType operandType, object objectValue, object objectIndex) | |
| string | ToString (object objectValue) |
| string | ToLiteral (string input) |
Private Attributes | |
| OperandType | m_operandType |
| object | m_objectValue |
| object | m_objectIndex |
Definition at line 22 of file Operand.cs.
|
private |
Definition at line 35 of file Operand.cs.
References m_objectIndex, m_objectValue, and m_operandType.
Referenced by AllocateFunctionPointer(), AllocateInstructionPointer(), AllocateRoutinePointer(), CreatePointer(), Literal(), MemberVariable(), and Variable().
Definition at line 79 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.FunctionCall().
|
static |
Definition at line 74 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.Break(), ScriptStack.Compiler.Parser.Continue(), ScriptStack.Compiler.Parser.For(), ScriptStack.Compiler.Parser.ForEach(), ScriptStack.Compiler.Parser.If(), ScriptStack.Compiler.Parser.Switch(), ScriptStack.Compiler.Parser.Wait(), and ScriptStack.Compiler.Parser.While().
Definition at line 84 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.RoutineCall().
|
static |
Definition at line 69 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.AccessChain(), ScriptStack.Compiler.Parser.AccessChainAssignment(), ScriptStack.Compiler.Parser.ArrayAssignment(), ScriptStack.Compiler.Parser.BraceArray(), ScriptStack.Compiler.Parser.BracketArray(), ScriptStack.Compiler.Parser.ForEach(), and ScriptStack.Compiler.Parser.Pointer().
|
static |
Definition at line 54 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.AccessChain(), ScriptStack.Compiler.Parser.Atom(), ScriptStack.Compiler.Parser.For(), ScriptStack.Compiler.Parser.ForEach(), ScriptStack.Compiler.Parser.FunctionDeclaration(), ScriptStack.Compiler.Parser.InsertDebugInfo(), ScriptStack.Compiler.Parser.Notify(), ScriptStack.Compiler.Parser.Return(), and ScriptStack.Compiler.Parser.Switch().
|
static |
Definition at line 64 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.AccessChain(), ScriptStack.Compiler.Parser.AccessChainAssignment(), ScriptStack.Compiler.Parser.BraceArray(), ScriptStack.Compiler.Parser.BracketArray(), ScriptStack.Compiler.Parser.Member(), and ScriptStack.Compiler.Parser.MemberAssignment().
|
private |
Definition at line 93 of file Operand.cs.
References ToString().
Referenced by ToString().
| override string ScriptStack.Runtime.Operand.ToString | ( | ) |
Definition at line 146 of file Operand.cs.
References ScriptStack.Runtime.Instruction.Address, ScriptStack.Runtime.Function.EntryPoint, m_objectIndex, m_objectValue, m_operandType, ToLiteral(), and ToString().
Referenced by ToLiteral(), and ToString().
|
private |
Definition at line 42 of file Operand.cs.
|
static |
Definition at line 59 of file Operand.cs.
References Operand().
Referenced by ScriptStack.Compiler.Parser.AccessChain(), ScriptStack.Compiler.Parser.AccessChainAssignment(), ScriptStack.Compiler.Parser.AllocateVariable(), ScriptStack.Compiler.Parser.And(), ScriptStack.Compiler.Parser.Arithmetic(), ScriptStack.Compiler.Parser.ArrayAssignment(), ScriptStack.Compiler.Parser.Atom(), ScriptStack.Compiler.Parser.BinaryAnd(), ScriptStack.Compiler.Parser.BinaryNot(), ScriptStack.Compiler.Parser.BinaryNotAssign(), ScriptStack.Compiler.Parser.BinaryOr(), ScriptStack.Compiler.Parser.BitwiseAnd(), ScriptStack.Compiler.Parser.BitwiseOr(), ScriptStack.Compiler.Parser.BitwiseXor(), ScriptStack.Compiler.Parser.BraceArray(), ScriptStack.Compiler.Parser.BracketArray(), ScriptStack.Compiler.Parser.Factor(), ScriptStack.Compiler.Parser.For(), ScriptStack.Compiler.Parser.ForEach(), ScriptStack.Compiler.Parser.FunctionCall(), ScriptStack.Compiler.Parser.FunctionDeclaration(), ScriptStack.Compiler.Parser.If(), ScriptStack.Compiler.Parser.LockedStatementList(), ScriptStack.Compiler.Parser.Member(), ScriptStack.Compiler.Parser.MemberAssignment(), ScriptStack.Compiler.Parser.Not(), ScriptStack.Compiler.Parser.Notify(), ScriptStack.Compiler.Parser.Or(), ScriptStack.Compiler.Parser.Pointer(), ScriptStack.Compiler.Parser.PostDecrement(), ScriptStack.Compiler.Parser.PostIncrement(), ScriptStack.Compiler.Parser.PreDecrement(), ScriptStack.Compiler.Parser.PreIncrement(), ScriptStack.Compiler.Parser.Relation(), ScriptStack.Compiler.Parser.Return(), ScriptStack.Compiler.Parser.RoutineCall(), ScriptStack.Compiler.Parser.ShiftLeft(), ScriptStack.Compiler.Parser.ShiftRight(), ScriptStack.Compiler.Parser.Switch(), ScriptStack.Compiler.Parser.Term(), ScriptStack.Compiler.Parser.VariableAssignment(), ScriptStack.Compiler.Parser.VariableDeclaration(), ScriptStack.Compiler.Parser.Wait(), ScriptStack.Compiler.Parser.While(), and ScriptStack.Compiler.Parser.Xor().
|
private |
Definition at line 29 of file Operand.cs.
Referenced by Operand(), and ToString().
|
private |
Definition at line 28 of file Operand.cs.
Referenced by Operand(), and ToString().
|
private |
Definition at line 27 of file Operand.cs.
Referenced by Operand(), and ToString().
|
getset |
Definition at line 259 of file Operand.cs.
|
getset |
Definition at line 241 of file Operand.cs.
Referenced by ScriptStack.Runtime.Executable.Clean().
|
getset |
Definition at line 209 of file Operand.cs.
Referenced by ScriptStack.Runtime.Interpreter.Assignment(), and ScriptStack.Runtime.Interpreter.Evaluate().
|
getset |
Definition at line 225 of file Operand.cs.
Referenced by ScriptStack.Runtime.Interpreter.Assignment(), and ScriptStack.Runtime.Interpreter.Evaluate().
|
getset |
Definition at line 277 of file Operand.cs.
|
getset |
Definition at line 198 of file Operand.cs.
Referenced by ScriptStack.Runtime.Interpreter.ANDB(), ScriptStack.Runtime.Interpreter.Assignment(), ScriptStack.Runtime.Executable.Clean(), ScriptStack.Runtime.Interpreter.DCO(), ScriptStack.Runtime.Interpreter.Evaluate(), ScriptStack.Runtime.Interpreter.ORB(), ScriptStack.Runtime.Interpreter.SHL(), ScriptStack.Runtime.Interpreter.SHR(), and ScriptStack.Runtime.Interpreter.XOR().
|
get |
Definition at line 204 of file Operand.cs.
Referenced by ScriptStack.Runtime.Interpreter.ANDB(), ScriptStack.Runtime.Interpreter.Assignment(), ScriptStack.Runtime.Interpreter.DCO(), ScriptStack.Runtime.Interpreter.Evaluate(), ScriptStack.Runtime.Interpreter.ORB(), ScriptStack.Runtime.Interpreter.SHL(), ScriptStack.Runtime.Interpreter.SHR(), and ScriptStack.Runtime.Interpreter.XOR().