Свойство | Тип | Описание | |
---|---|---|---|
CreateGlobalScope | |||
CreateWithScope | |||
GenerateScopeCreation | void | ||
ObjectScope | System |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат |
public Delete ( string variableName ) : bool | ||
variableName | string | The name of the variable. |
Результат | bool |
public GetValue ( string variableName ) : object | ||
variableName | string | The name of the variable. |
Результат | object |
public HasValue ( string variableName ) : bool | ||
variableName | string | The name of the variable to check. |
Результат | bool |
public SetValue ( string variableName, object value ) : void | ||
variableName | string | The name of the variable. |
value | object | The new value of the variable. |
Результат | void |