An array of recognition exceptions that occurred during parsing. This can be used to identify and handle any syntax errors in the input document.
Flag indicating the Parser is at the recording phase. Can be used to implement methods similar to BaseParser.ACTION Or any other logic to requires knowledge of the recording phase. See:
ReadonlysemanticAn array of recognition exceptions that occurred during semantic analysis. This can be used to identify and handle any semantic errors in the input document, such as undefined prefixes or invalid IRIs.
https://www.w3.org/TR/rdf12-n-triples/#grammar-production-tripleTerm tripleTerm ::= '<<(' subject predicate object ')>>'
https://www.w3.org/TR/rdf12-n-quads/#grammar-production-versionDirective versionDirective ::= 'VERSION' versionSpecifier
An array of tokens that were created by the lexer and used as input for the parser. This can be used to inspect the tokens that were processed during parsing, and to identify any issues with the tokenization process.
An array of tokens that were created by the lexer and used as input for the parser. This can be used to inspect the tokens that were processed during parsing, and to identify any issues with the tokenization process.
/**
A set of tokens created by the lexer. *
Whether to throw an error if any parsing errors are detected. Defaults to true. *
A concrete syntax tree (CST) object.
Resets the parser state, should be overridden for custom parsers which "carry" additional state. When overriding, remember to also invoke the super implementation!
A W3C compliant parser for the N-Quads syntax. https://www.w3.org/TR/n-quads