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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.