Package org.codehaus.jparsec

Provides core Parser implementations for parser combinator logic.

See:
          Description

Interface Summary
TokenMap<T> Maps a Token to a an object of type T, or null if the token isn't recognized.
 

Class Summary
Indentation Processes indentation based lexical structure according to the Off-side rule.
OperatorTable<T> Builds Parser to parse expressions with operator-precedence grammar.
Parser<T> Defines grammar and encapsulates parsing logic.
Parser.Reference<T> An atomic mutable reference to Parser used in recursive grammars.
Parsers Provides common Parser implementations.
Scanners Provides common Parser implementations that scan the source and match certain string patterns.
Terminals Provides convenient API to build lexer and parsers for terminals.
Terminals.CharLiteral Entry point for parser and tokenizers of character literal.
Terminals.DecimalLiteral Entry point for parser and tokenizers of decimal number literal represented as String.
Terminals.Identifier Entry point for parser and tokenizers of regular identifier.
Terminals.IntegerLiteral Entry point for any arbitrary integer literal represented as a String.
Terminals.LongLiteral Entry point for parser and tokenizers of integral number literal represented as Long.
Terminals.ScientificNumberLiteral Entry point for parser and tokenizers of scientific notation literal.
Terminals.StringLiteral Entry point for parser and tokenizers of string literal.
Token Represents any token with a token value and the 0-based index in the source.
Tokens Provides common token values.
Tokens.Fragment Represents a fragment tagged according to its semantics.
Tokens.ScientificNotation Represents a scientific notation with a significand (mantissa) and an exponent.
WithSource<T> Parsed result with the matched source text.
 

Enum Summary
Tokens.Tag Pre-built Tokens.Fragment token tags.
 

Package org.codehaus.jparsec Description

Provides core Parser implementations for parser combinator logic.
Parser and Parsers are the 2 core classes in this package. Convenience API such as 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



Copyright © 2014. All rights reserved.