Class
SyntaxTreeProvider
class SyntaxTreeProvider
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: SyntaxTreeProvider.cs
Inheritance: Object → SyntaxTreeProvider
Provides syntax tree parsing for documents. Only files with recognised Raven source extensions are parsed; others return null.
Constructors
1 item
SyntaxTreeProvider()
No summary available.
Properties
1 item
ParseOptions: ParseOptions
No summary available.
Methods
7 items
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
SupportsSemanticModel(name: string, filePath?: string?) -> bool
Determines whether the specified document supports a semantic model.
SupportsSyntaxTree(name: string, filePath?: string?) -> bool
Determines whether the specified document supports a syntax tree.
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString
TryParse(name: string, text: SourceText, filePath?: string?, parseOptions?: ParseOptions?) -> SyntaxTree?
Attempts to parse a Raven.CodeAnalysis.Syntax.SyntaxTree for the specified document name and text. Non-Raven files return null.