Метод | Описание | |
---|---|---|
GenerateCode ( ) : void |
Generates IL for the script.
|
|
Optimize ( ) : void |
Optimizes the abstract syntax tree.
|
|
Parse ( ) : void |
Parses the source text into an abstract syntax tree.
|
Метод | Описание | |
---|---|---|
GenerateCode ( |
Generates IL for the script.
|
|
GetDelegate ( ) : |
Retrieves a delegate for the generated method.
|
|
GetMethodName ( ) : string |
Gets a name for the generated method.
|
|
GetParameterTypes ( ) : System.Type[] |
Gets an array of types - one for each parameter accepted by the method generated by this context.
|
|
GetStackName ( ) : string |
Gets a name for the function, as it appears in the stack trace.
|
|
MethodGenerator ( ScriptEngine engine, |
Creates a new MethodGenerator instance.
|
protected abstract GenerateCode ( |
||
generator | The generator to output the CIL to. | |
optimizationInfo | Information about any optimizations that should be performed. | |
Результат | void |
protected abstract GetMethodName ( ) : string | ||
Результат | string |
protected GetParameterTypes ( ) : System.Type[] | ||
Результат | System.Type[] |
protected MethodGenerator ( ScriptEngine engine, |
||
engine | ScriptEngine | The script engine. |
scope | The initial scope. | |
source | ScriptSource | The source of javascript code. |
options | Jurassic.Compiler.CompilerOptions | Options that influence the compiler. |
Результат | System |