Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Push

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.
Read time 1 minuteLast updated 12 days ago

Definition

Push(SearchExpression, IEnumerable<SearchExpression>)

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.
public IDisposable Push(SearchExpression searchExpression, IEnumerable<SearchExpression> args)

Parameters

searchExpression

Expression to evaluate.

Parameters passed to the expression to evaluate.

Returns

Type

Description

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

Push(SearchItem)

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.
public IDisposable Push(SearchItem item)

Parameters

Push a new yielded item in the current evaluation frame.

Returns

Type

Description

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