Version: 2022.3
public IDisposable Push (Search.SearchExpression searchExpression, IEnumerable<SearchExpression> args);
public IDisposable Push (Search.SearchItem item);

参数

searchExpression Expression to evaluate.
args Parameters passed to the expression to evaluate.
flags Exeution Flags used to add to the flags specified in the expression being evaluated.
item Push a new yielded item in the current evaluation frame.

返回

IDisposable Returns a new disposable Scope. When out this scope is disposed the newly created SearchExpressionContext will be removed from the frames.

描述

Push a new SearchExpression with its arguments to be evaluated. This is useful if a user defined evaluator needs to generate a new Context of evaluation.