Interface DocumentValidator

Language-specific service for validating LangiumDocuments.

interface DocumentValidator {
    validateDocument(document: LangiumDocument<AstNode>, options?: ValidationOptions, cancelToken?: CancellationToken): Promise<Diagnostic[]>;
}

Implemented by

Methods