Class RNCDocument.RNCError
java.lang.Object
org.eclipse.lemminx.extensions.relaxng.grammar.rnc.RNCDocument.RNCError
- Enclosing class:
RNCDocument
Represents a single parser error with a code, message, and source range.
Use case: converted into LSP Diagnostic by the validator, and
matched by RNCErrorCode in the code actions delegate for quick fixes.
-
Constructor Summary
ConstructorsConstructorDescriptionRNCError(RNCErrorCode errorCode, String message, int start, int end) Creates a new parser error. -
Method Summary
-
Constructor Details
-
RNCError
Creates a new parser error.- Parameters:
errorCode- the error code.message- the error message.start- the inclusive start offset.end- the exclusive end offset.
-
-
Method Details
-
getErrorCode
-
getMessage
-
getStart
public int getStart() -
getEnd
public int getEnd()
-