API Browser

Method

GetSyntaxTreeAsync

func GetSyntaxTreeAsync(cancellationToken: CancellationToken = default) -> Task<SyntaxTree?>

Declaring type: Document
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Document.cs

Asynchronously gets the syntax tree of the document, if any.

Parameters

Name Type Description
cancellationToken CancellationToken

Return value

Task<SyntaxTree?>