Method | 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
|
Method | 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 | |
return | object |
public Contains ( LSharp.Symbol symbol ) : bool | ||
symbol | LSharp.Symbol | |
return | bool |
public Environment ( |
||
environment | ||
return | System.Collections |
public GetValue ( LSharp.Symbol symbol ) : object | ||
symbol | LSharp.Symbol | |
return | object |
public Set ( LSharp.Symbol symbol, object value ) : object | ||
symbol | LSharp.Symbol | |
value | object | |
return | object |