Returns the current instance as
(or nullNothingnullptr when the current composition is not intended to visit TExpression).
Assembly: Epic.Prelude
Declaration Syntax
C# |
public IVisitor<TResult, TExpression> AsVisitor<TExpression>( TExpression target ) where TExpression : class
Generic Template Parameters
- TExpression
- Type of the object to visit.
Parameters
- target (TExpression)
- Object to visit.
Return Value
The current instance or nullNothingnullptr.