Uses of Class
org.libxmq.ParseException
Packages that use ParseException
-
Uses of ParseException in org.libxmq
Methods in org.libxmq that return ParseExceptionModifier and TypeMethodDescriptionParseException.warning()Get the warning printed before the error, or null.Methods in org.libxmq with parameters of type ParseExceptionModifier and TypeMethodDescriptionstatic StringXMQ.printException(ParseException e) Render a locale adapted text cli error printout of a parse exception using the default locale.static StringXMQ.printException(ParseException e, Locale locale) Render a locale adapted text cli error printout of a parse exception.Methods in org.libxmq that throw ParseExceptionModifier and TypeMethodDescriptionstatic IXMLCompile an ixml grammar.XMQ.compileIXML(String grammar) Compile an ixml grammar, to parse inputs with parseBufferWithIXML.static XMQDocCreate a document from an xmq buffer, like xmqOf in C: a newDoc and a parseBuffer in one call.IXML.parse(byte[] input) Parse an UTF-8 input with the grammar.IXML.parse(byte[] buf, int start, int stop) Parse an UTF-8 input with the grammar, the bytes start to stop of the buffer.Parse an input with the grammar.XMQ.parseBuffer(String buffer, InputSettings is) Parse a buffer containing XMQ/XML/HTML/JSON/CLINES.XMQ.parseBufferWithIXML(byte[] buffer, IXML ixml) Parse an UTF-8 buffer with an ixml grammar, like xmqParseBufferWithIXML.XMQ.parseBufferWithIXML(String buffer, IXML ixml) Parse a buffer with an ixml grammar, like xmqParseBufferWithIXML.XMQ.parseFile(Path file, InputSettings is) Parse a file containing XMQ/XML/HTML/JSON/CLINES.XMQ.queryBuffer(String buffer, InputSettings is) Parse a buffer containing XMQ/XML/HTML/JSON/CLINES and return a Query object for the DOM.XMQ.queryFile(Path file, InputSettings is) Parse a file containing XMQ/XML/HTML/JSON/CLINES and return a Query object to the DOM.Constructors in org.libxmq with parameters of type ParseExceptionModifierConstructorDescriptionParseException(ParseErrorCode ec, String text, int line, int column, String source, int caret_bytes, int code_point, ParseException warning) Construct a parse exception of the xmq parser, printed like the C generate_state_error_message: the line of the input (at most 1024 bytes) with the ^ after as many spaces as there are utf8 bytes before the error. -
Uses of ParseException in org.libxmq.imp
Methods in org.libxmq.imp that return ParseExceptionModifier and TypeMethodDescriptionXMQRuntimeException.getParseException()Returns the wrapped parse exception.Methods in org.libxmq.imp that throw ParseExceptionModifier and TypeMethodDescriptionbooleanParses an xmq buffer.booleanParse json.booleanParse yaml.Constructors in org.libxmq.imp with parameters of type ParseExceptionModifierConstructorDescriptionCreates a runtime exception from a parse exception.Constructors in org.libxmq.imp that throw ParseException