Share via


QueryNode.Accept<T>(QueryNodeVisitor<T>) Method

Definition

Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes.

public virtual T Accept<T> (Microsoft.OData.UriParser.QueryNodeVisitor<T> visitor);
abstract member Accept : Microsoft.OData.UriParser.QueryNodeVisitor<'T> -> 'T
override this.Accept : Microsoft.OData.UriParser.QueryNodeVisitor<'T> -> 'T
Public Overridable Function Accept(Of T) (visitor As QueryNodeVisitor(Of T)) As T

Type Parameters

T

Type that the visitor will return after visiting this token.

Parameters

visitor
QueryNodeVisitor<T>

An implementation of the visitor interface.

Returns

T

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

Applies to