Method | Description | |
---|---|---|
EmitDefaultValue ( |
Emits a dummy value of the given type.
|
|
EmitDefaultValue ( |
Emits a default value of the given type.
|
|
EmitNull ( |
Emits null.
|
|
EmitThrow ( |
Emits a JavaScriptException.
|
|
EmitThrow ( |
Emits a JavaScriptException.
|
|
EmitThrow ( |
Emits a JavaScriptException.
|
|
EmitUndefined ( |
Emits undefined.
|
|
EmitValue ( |
Emits the given value. Only possible for certain types.
|
|
LoadArgumentsArray ( |
Pushes a reference to the array of argument values for the current function onto the stack.
|
|
LoadFunction ( |
Pushes a reference to the current function onto the stack.
|
|
LoadScope ( |
Pushes a reference to the current scope onto the stack.
|
|
LoadScriptEngine ( |
Pushes a reference to the script engine onto the stack.
|
|
LoadThis ( |
Pushes the value of the
|
|
StoreScope ( |
Stores the reference on top of the stack as the new scope.
|
|
StoreThis ( |
Stores the reference on top of the stack as the new value of the
|
public static EmitDefaultValue ( |
||
generator | The IL generator. | |
type | PrimitiveType | The type of value to generate. |
return | void |
public static EmitDefaultValue ( |
||
generator | The IL generator. | |
type | The type of value to generate. | |
return | void |
public static EmitNull ( |
||
generator | The IL generator. | |
return | void |
public static EmitThrow ( |
||
generator | The IL generator. | |
type | Jurassic.Library.ErrorType | The type of error to generate, e.g. Error, RangeError, etc. |
message | string | The error message. |
return | void |
public static EmitThrow ( |
||
generator | The IL generator. | |
type | Jurassic.Library.ErrorType | The type of error to generate, e.g. Error, RangeError, etc. |
message | string | The error message. |
optimizationInfo | Information about the line number, function and path. | |
return | void |
public static EmitThrow ( |
||
generator | The IL generator. | |
type | Jurassic.Library.ErrorType | The type of error to generate, e.g. Error, RangeError, etc. |
message | string | The error message. |
path | string | The path of the javascript source file that is currently executing. |
function | string | The name of the currently executing function. |
line | int | The line number of the statement that is currently executing. |
return | void |
public static EmitUndefined ( |
||
generator | The IL generator. | |
return | void |
public static EmitValue ( |
||
generator | The IL generator. | |
value | object | The value to emit. |
return | void |
public static LoadArgumentsArray ( |
||
generator | The IL generator. | |
return | void |
public static LoadFunction ( |
||
generator | The IL generator. | |
return | void |
public static LoadScope ( |
||
generator | The IL generator. | |
return | void |
public static LoadScriptEngine ( |
||
generator | The IL generator. | |
return | void |
public static LoadThis ( |
||
generator | The IL generator. | |
return | void |
public static StoreScope ( |
||
generator | The IL generator. | |
return | void |
public static StoreThis ( |
||
generator | The IL generator. | |
return | void |