Package org.jparsec
package org.jparsec
Provides core Parser implementations for parser combinator logic.
Parser and Parsers are the 2 core classes in this package. Convenience API such as invalid input: '<'a href="Terminals.html>Terminals and OperatorTable are also provided.
Parser and Parsers are the 2 core classes in this package. Convenience API such as invalid input: '<'a href="Terminals.html>Terminals and OperatorTable are also provided.
Package Specification
The code is developed and tested under Java 5.0.Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please check out CodeHaus-
ClassDescriptionProcesses indentation based lexical structure according to the Off-side rule.Builds
Parserto parse expressions with operator-precedence grammar.Parser<T>Defines grammar and encapsulates parsing logic.Defines the mode that a parser should be run in.An atomic mutable reference toParserused in recursive grammars.Provides commonParserimplementations.Represents the syntactical structure of the input being parsed.Provides commonParserimplementations that scan the source and match certain string patterns.Represents a location inside the source.Provides convenient API to build lexer and parsers for terminals.Entry point for parser and tokenizers of character literal.Entry point for parser and tokenizers of decimal number literal represented asString.Entry point for parser and tokenizers of regular identifier.Entry point for any arbitrary integer literal represented as aString.Entry point for parser and tokenizers of integral number literal represented asLong.Entry point for parser and tokenizers of scientific notation literal.Entry point for parser and tokenizers of string literal.Represents any token with a token value and the 0-based index in the source.TokenMap<T>Maps aTokento a an object of typeT, or null if the token isn't recognized.Provides common token values.Represents a fragment tagged according to its semantics.Represents a scientific notation with a significand (mantissa) and an exponent.Pre-builtTokens.Fragmenttoken tags.WithSource<T>Parsed result with the matched source text.