FunctionUtils.EvaluateChildren 方法

定义

计算表达式子级并返回它们。

public static (System.Collections.Generic.IReadOnlyList<object>, string error) EvaluateChildren (AdaptiveExpressions.Expression expression, AdaptiveExpressions.Memory.IMemory state, AdaptiveExpressions.Options options, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member EvaluateChildren : AdaptiveExpressions.Expression * AdaptiveExpressions.Memory.IMemory * AdaptiveExpressions.Options * AdaptiveExpressions.FunctionUtils.VerifyExpression -> ValueTuple<System.Collections.Generic.IReadOnlyList<obj>, string>
Public Shared Function EvaluateChildren (expression As Expression, state As IMemory, options As Options, Optional verify As FunctionUtils.VerifyExpression = Nothing) As ValueTuple(Of IReadOnlyList(Of Object), String)

参数

expression
Expression

包含子级的表达式。

state
IMemory

全局状态。

options
Options

评估中使用的选项。

verify
FunctionUtils.VerifyExpression

用于验证每个子级结果的可选函数。

返回

子值或错误消息的列表。

适用于