Свойство | Тип | Описание | |
---|---|---|---|
BuildLambdaFunction | string | ||
CaptureLeft | ElementCapture | ||
CaptureRight | ElementCapture | ||
CreateArray | |||
CreateArray | |||
CreateBool | |||
CreateNumber | |||
CreateString | |||
CreateString | |||
EvaluateLambda | string | ||
EvaluateOperator | string | ||
EvaluateReverseBool | string | ||
ExecuteAssignment | |||
ExecuteAsync | |||
ExecuteBreak | |||
ExecuteCatch | |||
ExecuteClass | |||
ExecuteContinue | |||
ExecuteElse | |||
ExecuteElseIf | |||
ExecuteExecutable | |||
ExecuteFinally | |||
ExecuteFor | |||
ExecuteFunction | |||
ExecuteIf | |||
ExecuteImport | |||
ExecuteLink | |||
ExecuteReturn | |||
ExecuteStatement | |||
ExecuteThrow | |||
ExecuteTry | |||
ExecuteVar | |||
ExecuteWhile | |||
GetLineNumber | int | ||
GetOperatorPositions | int[] | ||
InvokeMember | |||
InvokeMemberOrMethod | |||
InvokeMethod | |||
IsDotOperatorDecimalSeparator | bool | ||
IsValidIdentifier | bool | ||
ParseParameters | Pokemon3D.Scripting.Types.SObject[] | ||
ProcessStatements | |||
ResolveParentheses | string | ||
ScriptProcessor | Pokemon3D.Scripting.Types | ||
ScriptProcessor | Pokemon3D.Scripting.Types | ||
ToScriptObject |
Метод | Описание | |
---|---|---|
Run ( string code ) : |
Runs raw source code and returns the result.
|
|
ScriptProcessor ( ) : Pokemon3D.Scripting.Types |
Creates a new instance of the ScriptProcessor.
|
|
ScriptProcessor ( IEnumerable |
Creates a new instance of the ScriptProcessor with defined prototypes.
|
Метод | Описание | |
---|---|---|
BuildLambdaFunction ( string lambdaCode ) : string |
Builds a function() {} from a lambda statement.
|
|
CaptureLeft ( string exp, int index ) : ElementCapture |
Captures an element left from the starting index.
|
|
CaptureRight ( string exp, int index ) : ElementCapture |
Captures an element right from the starting index.
|
|
CreateArray ( |
||
CreateArray ( int length ) : |
||
CreateBool ( bool value ) : |
Creates an instance of the bool primitive.
|
|
CreateNumber ( double value ) : |
Creates an instance of the number primitive.
|
|
CreateString ( string value ) : |
Creates an instance of the string primitive.
|
|
CreateString ( string value, bool escaped, bool interpolate ) : |
Creates an instance of the string primitive, also setting the escaped status.
|
|
EvaluateLambda ( string exp ) : string | ||
EvaluateOperator ( string exp, string op ) : string | ||
EvaluateReverseBool ( string exp ) : string | ||
ExecuteAssignment ( |
||
ExecuteAsync ( |
||
ExecuteBreak ( |
||
ExecuteCatch ( |
||
ExecuteClass ( |
||
ExecuteContinue ( |
||
ExecuteElse ( |
||
ExecuteElseIf ( |
||
ExecuteExecutable ( |
||
ExecuteFinally ( |
||
ExecuteFor ( |
||
ExecuteFunction ( |
||
ExecuteIf ( |
||
ExecuteImport ( |
||
ExecuteLink ( |
||
ExecuteReturn ( |
||
ExecuteStatement ( |
||
ExecuteThrow ( |
||
ExecuteTry ( |
||
ExecuteVar ( |
||
ExecuteWhile ( |
||
GetLineNumber ( ) : int |
Returns the line number of the currently active statement.
|
|
GetOperatorPositions ( string exp, string op ) : int[] |
Returns positions of the given operator in the expression, sorted from left to right.
|
|
InvokeMember ( |
||
InvokeMemberOrMethod ( |
Invokes a member or method on an SObject and returns the result.
|
|
InvokeMethod ( |
||
IsDotOperatorDecimalSeparator ( string elementLeft, string elementRight ) : bool | ||
IsValidIdentifier ( string identifier ) : bool |
Returns if the given string is a valid identifier.
|
|
ParseParameters ( string exp ) : Pokemon3D.Scripting.Types.SObject[] |
Parses a list of parameters into a list of script objects.
|
|
ProcessStatements ( ) : |
||
ResolveParentheses ( string exp ) : string |
Resolves parentheses and adds ".call" to direct function calls on variables.
|
|
ScriptProcessor ( |
Creates a new instance of the ScriptProcessor and sets a context.
|
|
ScriptProcessor ( |
||
ToScriptObject ( string exp ) : |
Converts a string expression into a script object.
|
public Run ( string code ) : |
||
code | string | The source code to run. |
Результат |
public ScriptProcessor ( ) : Pokemon3D.Scripting.Types | ||
Результат | Pokemon3D.Scripting.Types |
public ScriptProcessor ( IEnumerable |
||
inputPrototypes | IEnumerable |
An enumeration of prototypes. |
Результат | Pokemon3D.Scripting.Types |