Uses of Record Class
org.libxmq.imp.ixml.earley.EarleyParser.Expected
Packages that use EarleyParser.Expected
-
Uses of EarleyParser.Expected in org.libxmq.imp.ixml
Method parameters in org.libxmq.imp.ixml with type arguments of type EarleyParser.ExpectedModifier and TypeMethodDescriptionstatic XmlDocumentIXMLAnalyzer.failureDocument(byte[] buf, int begin, int stop, int failed_at, String error, List<EarleyParser.Expected> expected) The failure document of a rejected input, like failureDocument for a String, but the input is UTF-8 bytes, only the code points up to the failure and around it are decoded.static XmlDocumentIXMLAnalyzer.failureDocument(String input, int failed_at, String error, List<EarleyParser.Expected> expected) The failure document of a rejected input, like in the C version: ixml(ixml:state=failed){info=... line=... column=... pos=...} -
Uses of EarleyParser.Expected in org.libxmq.imp.ixml.earley
Methods in org.libxmq.imp.ixml.earley that return types with arguments of type EarleyParser.ExpectedModifier and TypeMethodDescriptionEarley.Result.expected()Returns the value of theexpectedrecord component.What the parser could read at the position: the terminals right after the dot of the items in the set, with the characters that follow them in the item, and the end of the input if the start rule is complete there.static List<EarleyParser.Expected> Earley.expectedAt(String grammar_source, byte[] input, int position) What the Earley parser expected where it rejected the input, for the failure message of another parser (IXMLAnalyzer).Method parameters in org.libxmq.imp.ixml.earley with type arguments of type EarleyParser.ExpectedModifier and TypeMethodDescriptionstatic StringEarleyParser.expectedLines(List<EarleyParser.Expected> expected) The expected as lines, one per rule, like the C version: "expected verb: 'gives', 'goes' or 'is'" and "expected end of input".