Is a kind of expression collection which consist with multiple expression lines. (其实就是一段拥有自己的Environment的没有名称的匿名函数)
ClosureExpression
01 Syntax
SMRUCC.Rsharp.Interpreter.ExecuteEngine.ExpressionSymbols.Closure.ClosureExpression
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | construct closure from a collection of the multiple expression |
| Evaluate | 1 | |
| EnumerateCodeLines | 1 | |
| ToString | 1 | |
| ParseExpressionTree | 1 | |
| op_Implicit | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| type | 1 | |
| expressionName | 1 | |
| isEmpty | 1 | |
| bodySize | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| FunctionExitCode | 1 |
05 Members
#ctor(Expression())
construct closure from a collection of the multiple expression
Parameters
| Name | Type | Description |
|---|---|---|
code | Expression() | - |
FunctionExitCode
type
expressionName
isEmpty
bodySize
Evaluate(Environment)
EnumerateCodeLines()
ToString()
ParseExpressionTree(
IEnumerable(Of Token))op_Implicit(Expression())