public class ReferencedGrammarDiagnosticsInfo extends Object
Constructor and Description |
---|
ReferencedGrammarDiagnosticsInfo(String grammarURI,
URIResolverExtensionManager resolverExtensionManager,
org.eclipse.lsp4j.Diagnostic diagnostic) |
Modifier and Type | Method and Description |
---|---|
void |
addDiagnosticRelatedInformation(org.eclipse.lsp4j.DiagnosticRelatedInformation relatedInformation)
Add diagnostic related information.
|
void |
addError(boolean fatalError)
Increment the error number to update the diagnostic root message.
|
DOMDocument |
getGrammarDocument()
Returns the DOM document of the referenced grammar.
|
boolean |
isFatalError() |
public ReferencedGrammarDiagnosticsInfo(String grammarURI, URIResolverExtensionManager resolverExtensionManager, org.eclipse.lsp4j.Diagnostic diagnostic)
public void addDiagnosticRelatedInformation(org.eclipse.lsp4j.DiagnosticRelatedInformation relatedInformation)
relatedInformation
- the related information.public DOMDocument getGrammarDocument()
public void addError(boolean fatalError)
diagnosticSeverity
- public boolean isFatalError()
Copyright © 2022. All rights reserved.