Share via


CustomQueryOptionToken.Accept<T>(ISyntacticTreeVisitor<T>) Method

Definition

Accept a ISyntacticTreeVisitor<T> to walk a tree of QueryTokens.

public override T Accept<T> (Microsoft.OData.UriParser.ISyntacticTreeVisitor<T> visitor);
override this.Accept : Microsoft.OData.UriParser.ISyntacticTreeVisitor<'T> -> 'T
Public Overrides Function Accept(Of T) (visitor As ISyntacticTreeVisitor(Of T)) As T

Type Parameters

T

Type that the visitor will return after visiting this token.

Parameters

visitor
ISyntacticTreeVisitor<T>

An implementation of the visitor interface.

Returns

T

An object whose type is determined by the type parameter of the visitor.

Applies to