Méthode | Description | |
---|---|---|
AssignLocal ( LSharp.Symbol symbol, object value ) : object |
Asssigns value to a local variable symbol in this local environment (irrespective of whether symbol is defined in any parent environments).
|
|
Contains ( LSharp.Symbol symbol ) : bool |
Determines whether the environment contains a definition for a variable with the given symbol
|
|
Contents ( ) : string |
Returns the contents of the environment as a string suitable for use in a debugger or IDE.
|
|
Environment ( ) : System.Collections | ||
Environment ( |
Creates a new environment which has access to a previous environment
|
|
GetEnumerator ( ) : IEnumerator |
Make environment enumerable so that they are convenient to use from within LSharp itself
|
|
GetValue ( LSharp.Symbol symbol ) : object | ||
GlobalReset ( ) : void | ||
Set ( LSharp.Symbol symbol, object value ) : object |
Sets a variable with given symbol to a given value
|
Méthode | Description | |
---|---|---|
GetEnvironment ( LSharp.Symbol symbol ) : |
Returns the environment in which a given variable is defined, or null
|
public AssignLocal ( LSharp.Symbol symbol, object value ) : object | ||
symbol | LSharp.Symbol | |
value | object | |
Résultat | object |
public Contains ( LSharp.Symbol symbol ) : bool | ||
symbol | LSharp.Symbol | |
Résultat | bool |
public Environment ( ) : System.Collections | ||
Résultat | System.Collections |
public Environment ( |
||
environment | ||
Résultat | System.Collections |
public GetValue ( LSharp.Symbol symbol ) : object | ||
symbol | LSharp.Symbol | |
Résultat | object |
public Set ( LSharp.Symbol symbol, object value ) : object | ||
symbol | LSharp.Symbol | |
value | object | |
Résultat | object |