SyntaxWalker.VisitTrivia(SyntaxTrivia) 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 trivia syntax. This method may be overridden if subclasses want to handle the token. Overrides should call back into this base method if they want the children of this trivia syntax to be visited.
protected:
virtual void VisitTrivia(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
protected virtual void VisitTrivia (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
abstract member VisitTrivia : Microsoft.CodeAnalysis.SyntaxTrivia -> unit
override this.VisitTrivia : Microsoft.CodeAnalysis.SyntaxTrivia -> unit
Protected Overridable Sub VisitTrivia (trivia As SyntaxTrivia)
Parameters
- trivia
- SyntaxTrivia
The current trivia syntax that the walker is visiting.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.