Package | Description |
---|---|
org.jparsec |
Provides core Parser implementations for parser combinator logic.
|
org.jparsec.examples.java.parser |
Modifier and Type | Method and Description |
---|---|
Parser<Token> |
Indentation.indent()
A
Parser that recognizes the generated indent token. |
Parser<List<Token>> |
Parser.lexer(Parser<?> delim)
A
Parser that greedily runs this repeatedly, and ignores the pattern recognized by delim
before and after each occurrence. |
Parser<List<Token>> |
Indentation.lexer(Parser<?> tokenizer,
Parser<?> delim)
A
Parser that greedily runs tokenizer , and translates line feed characters
('\n' ) to indent and outdent tokens. |
Parser<Token> |
Indentation.outdent()
A
Parser that recognizes the generated outdent token. |
Parser<Token> |
Parser.token()
|
Modifier and Type | Method and Description |
---|---|
T |
TokenMap.map(Token token)
Transforms
token to an instance of T . |
Modifier and Type | Method and Description |
---|---|
Parser<T> |
Parser.from(Parser<? extends Collection<Token>> lexer)
|
Modifier and Type | Method and Description |
---|---|
static Parser<Token> |
TerminalParser.adjacent(Parser<List<Token>> parser,
Parser<?> otherwise)
|
static Parser<Token> |
TerminalParser.adjacent(String operator)
|
Modifier and Type | Method and Description |
---|---|
static Parser<Token> |
TerminalParser.adjacent(Parser<List<Token>> parser,
Parser<?> otherwise)
|
Copyright © 2013–2016 jparsec. All rights reserved.