프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |