Interface IStructuredTriviaSyntax
Represents the root node of a structured trivia tree (for example, a preprocessor directive or a documentation comment). From this root node you can traverse back up to the containing trivia in the outer tree that contains it.
Namespace: Loretta.CodeAnalysis
Assembly: Loretta.CodeAnalysis.dll
Syntax
public interface IStructuredTriviaSyntax
Properties
| Improve this Doc View SourceParentTrivia
Returns the parent trivia syntax for this structured trivia syntax.
Declaration
SyntaxTrivia ParentTrivia { get; }
Property Value
Type | Description |
---|---|
SyntaxTrivia | The parent trivia syntax for this structured trivia syntax. |