Uses of Interface
at.jku.ssw.fp.sect05_3.parser.Parser
-
Packages that use Parser Package Description at.jku.ssw.fp.sect05_3.parser -
-
Uses of Parser in at.jku.ssw.fp.sect05_3.parser
Fields in at.jku.ssw.fp.sect05_3.parser declared as Parser Modifier and Type Field Description Parser<Expr.And>
ExprParser. andParser
Parser for and-expressions.(package private) static Parser<String>
Demo1_Parser. andTkn
static Parser<String>
Parser. anyToken
A parser parsing any token.Parser<Expr>
ExprParser. exprParser
Variable to memoize the created expression parser.Parser<Expr>
ExprParser. exprParserDefected
Defected implementation of expression parser.Parser<Expr.Lit>
ExprParser. litParser
Parser for Boolean literals.Parser<Expr.Not>
ExprParser. notParser
Parser for not-expressions.(package private) static Parser<String>
Demo1_Parser. notTkn
Parser<Expr.Or>
ExprParser. orParser
Parser for or-expressions.(package private) static Parser<String>
Demo1_Parser. orTkn
(package private) Parser<Expr.Var>
ExprParser. varParser
Parser for variables.Methods in at.jku.ssw.fp.sect05_3.parser that return Parser Modifier and Type Method Description static <R> Parser<R>
Parser. alt(Parser<? extends R>... alternatives)
Creates a parser which tries to apply one of the given alternative parsers.static <R> Parser<R>
Parser. alt(Supplier<Parser<? extends R>>... pSuppliers)
Creates a parser which tries to apply one of the alternative parsers.Parser<Expr>
ExprParser. exprParser()
Creates an parser for Boolean expressions.default Parser<E>
Parser. filter(Predicate<? super E> pred)
Creates a new parser from this parser which is only successful if the parse result fulfills the given predicate.default <R> Parser<R>
Parser. map(Function<? super E,? extends R> f)
Creates a new parser from this parser where the parse result is mapped by the given function.static <R> Parser<FList<R>>
Parser. mult(Parser<R> parser)
Creates a parser which applies the given parser as long as it is successful.static <R> Parser<Optional<R>>
Parser. opt(Parser<R> parser)
Creates a parser which optionally applies the given parser.default <S> Parser<Pair<E,S>>
Parser. seq(Parser<S> second)
Creates a new parser which applies this parser and the second parser and combined both results in aPair
.static Parser<String>
Parser. token(String tkn)
A parser parsing a token if it is equal to the given string.Methods in at.jku.ssw.fp.sect05_3.parser with parameters of type Parser Modifier and Type Method Description static <R> Parser<R>
Parser. alt(Parser<? extends R>... alternatives)
Creates a parser which tries to apply one of the given alternative parsers.static <R> Parser<FList<R>>
Parser. mult(Parser<R> parser)
Creates a parser which applies the given parser as long as it is successful.static <R> Parser<Optional<R>>
Parser. opt(Parser<R> parser)
Creates a parser which optionally applies the given parser.default <S> Parser<Pair<E,S>>
Parser. seq(Parser<S> second)
Creates a new parser which applies this parser and the second parser and combined both results in aPair
.
-