Property | Type | Description | |
---|---|---|---|
CreateGlobalScope | |||
CreateWithScope | |||
GenerateScopeCreation | void | ||
ObjectScope | System |
Method | Description | |
---|---|---|
CreateRuntimeScope ( |
Creates a new object scope for use inside a with statement. Creates a new object scope for use at runtime.
|
|
Delete ( string variableName ) : bool |
Deletes the variable from the scope.
|
|
GetValue ( string variableName ) : object |
Returns the value of the given variable.
|
|
HasValue ( string variableName ) : bool |
Returns
|
|
SetValue ( string variableName, object value ) : void |
Sets the value of the given variable.
|
Method | Description | |
---|---|---|
CreateGlobalScope ( Library globalObject ) : |
Creates a new global object scope.
|
|
CreateWithScope ( |
Creates a new object scope for use inside a with statement.
|
|
GenerateScopeCreation ( |
Generates code that creates a new scope.
|
|
ObjectScope ( |
Creates a new ObjectScope instance.
|
public static CreateRuntimeScope ( |
||
parentScope | A reference to the parent scope. Can not be |
|
scopeObject | Library | An expression that evaluates to the object to use. |
providesImplicitThisValue | bool | Indicates whether an implicit "this" value is /// supplied to function calls in this scope. |
canDeclareVariables | bool | Indicates whether variables can be declared within /// the scope. |
return |
public Delete ( string variableName ) : bool | ||
variableName | string | The name of the variable. |
return | bool |
public GetValue ( string variableName ) : object | ||
variableName | string | The name of the variable. |
return | object |
public HasValue ( string variableName ) : bool | ||
variableName | string | The name of the variable to check. |
return | bool |
public SetValue ( string variableName, object value ) : void | ||
variableName | string | The name of the variable. |
value | object | The new value of the variable. |
return | void |