API Browser

Method

GetSubmissionCompleteness

func GetSubmissionCompleteness(cancellationToken: CancellationToken = default) -> SubmissionCompleteness

Declaring type: SyntaxTree
Namespace: Raven.CodeAnalysis.Syntax
Assembly: Raven.CodeAnalysis.dll
Source file: SyntaxTree.GeneratedCode.cs, SyntaxTree.Submissions.cs, SyntaxTree.cs

Classifies whether this script or interactive syntax tree is ready to compile.

Parameters

Name Type Description
cancellationToken CancellationToken A cancellation token.

Return value

SubmissionCompleteness

The submission completeness classification.

Errors

Error Description
T:System.InvalidOperationException The syntax tree was parsed as regular source rather than a script or interactive submission.