Returns the current instance if and only if it's able to visit target,
nullNothingnullptr otherwise.
It should be overridden whenever the type of target is not enough
to choose whether the current instance can visit it or not.
Assembly: Epic.Prelude
Declaration Syntax
C# |
protected override sealed IVisitor<TResult, TExpression> AsVisitor<TExpression>( TExpression target ) where TExpression : class
Generic Template Parameters
- TExpression
- The type of the object to visit.
Parameters
- target (TExpression)
- Object to visit.
Return Value
The current instance or nullNothingnullptr.