Interface ICompilationUnitSyntax
Interface implemented by any node that is the root 'CompilationUnit' of a SyntaxTree. i.e. any node returned by GetRoot(CancellationToken) where HasCompilationUnitRoot is true will implement this interface.
This interface provides a common way to both easily find the root of a SyntaxTree
given any SyntaxNode, as well as a common way for handling the special
EndOfFileToken that is needed to store all final trivia in a
Namespace: Loretta.CodeAnalysis
Assembly: cs.temp.dll.dll
Syntax
public interface ICompilationUnitSyntax
Properties
EndOfFileToken
Represents the end of the source file. This SyntaxToken may have SyntaxTrivia (whitespace, comments, directives) attached to it.
Declaration
SyntaxToken EndOfFileToken { get; }
Property Value
Type | Description |
---|---|
SyntaxToken |