Share via


SystemToken.Accept Method

Definition

Overloads

Accept(IPathSegmentTokenVisitor)

Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens.

Accept<T>(IPathSegmentTokenVisitor<T>)

Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens.

Accept(IPathSegmentTokenVisitor)

Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens.

public override void Accept (Microsoft.OData.UriParser.IPathSegmentTokenVisitor visitor);
override this.Accept : Microsoft.OData.UriParser.IPathSegmentTokenVisitor -> unit
Public Overrides Sub Accept (visitor As IPathSegmentTokenVisitor)

Parameters

visitor
IPathSegmentTokenVisitor

An implementation of the visitor interface.

Applies to

Accept<T>(IPathSegmentTokenVisitor<T>)

Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens.

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

Type Parameters

T

Type that the visitor will return after visiting this token.

Parameters

visitor
IPathSegmentTokenVisitor<T>

An implementation of the visitor interface.

Returns

T

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

Applies to