Constructor and Description |
---|
Parser(List<FA<E>> automata,
boolean eofCheck,
int start,
E emptyType,
E charType,
E posType,
E negType)
Creates a new Parser.
|
Modifier and Type | Method and Description |
---|---|
ParseResult<E> |
parse(IParserInput input)
Parses the input.
|
public Parser(List<FA<E>> automata, boolean eofCheck, int start, E emptyType, E charType, E posType, E negType)
automata
- The automata of the parser.eofCheck
- Whether to check that all input gets parsed.start
- The starting automaton.emptyType
- The kevs.empty type.charType
- The char type.posType
- The positive check type.negType
- The negative check type.public final ParseResult<E> parse(IParserInput input)
Copyright © 2017 Kevoree Project. All rights reserved.