SyntaxWalker.VisitToken(SyntaxToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the walker visits a token. This method may be overridden if subclasses want to handle the token. Overrides should call back into this base method if they want the trivia of this token to be visited.
protected:
virtual void VisitToken(Microsoft::CodeAnalysis::SyntaxToken token);
protected virtual void VisitToken (Microsoft.CodeAnalysis.SyntaxToken token);
abstract member VisitToken : Microsoft.CodeAnalysis.SyntaxToken -> unit
override this.VisitToken : Microsoft.CodeAnalysis.SyntaxToken -> unit
Protected Overridable Sub VisitToken (token As SyntaxToken)
Parameters
- token
- SyntaxToken
The current token that the walker is visiting.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.