InterpreterOptions
loreline.InterpreterOptions (Class)
Instance Members
functions: FunctionsMapOptional map of additional functions to make available to the script
strictAccess: BoolTells whether access is strict or not. If set to true, trying to read or write an undefined variable will throw an error.
customCreateFields(interpreter: Interpreter, type: String, node: Node): AnyA custom instanciator to create fields objects.
| Name | Type |
|---|---|
interpreter |
Interpreter |
type |
String |
node |
Node |
| Returns |
|---|
| Any |
new(?functions: Null<FunctionsMap>, ?strictAccess: Null<Bool>, ?customCreateFields: Null<Function>): Void| Name | Type | Default | Description |
|---|---|---|---|
functions |
Null<FunctionsMap> | (optional) | * Optional map of additional functions to make available to the script |
strictAccess |
Null<Bool> | (optional) | * Tells whether access is strict or not. If set to true, trying to read or write an undefined variable will throw an error. |
customCreateFields |
Null |
(optional) | * A custom instanciator to create fields objects. |
Metadata
| Name | Parameters |
|---|---|
:structInit |
- |