Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. | |
return | void |
protected abstract GetMethodName ( ) : string | ||
return | string |
protected GetParameterTypes ( ) : System.Type[] | ||
return | 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. |
return | System |