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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.