Package | Description |
---|---|
org.jparsec |
Provides core Parser implementations for parser combinator logic.
|
org.jparsec.examples.java.ast.statement | |
org.jparsec.examples.sql.ast | |
org.jparsec.functors |
Provides common functor interfaces, such as Map for mapping parser results
as well as some common implementations.
|
Modifier and Type | Method and Description |
---|---|
static <A,B> Parser<Pair<A,B>> |
Parsers.pair(Parser<? extends A> p1,
Parser<? extends B> p2)
Deprecated.
Prefer to converting to your own object with a lambda.
|
static <A,B> Parser<Pair<A,B>> |
Parsers.tuple(Parser<? extends A> p1,
Parser<? extends B> p2)
Deprecated.
Prefer to converting to your own object with a lambda.
|
Modifier and Type | Field and Description |
---|---|
List<Pair<Expression,Statement>> |
SwitchStatement.cases |
List<Pair<Expression,Statement>> |
IfStatement.elseifs |
Constructor and Description |
---|
IfStatement(Expression condition,
Statement then,
List<Pair<Expression,Statement>> elseifs,
Statement otherwise) |
SwitchStatement(Expression condition,
List<Pair<Expression,Statement>> cases,
Statement defaultCase) |
Modifier and Type | Field and Description |
---|---|
List<Pair<Expression,Expression>> |
SimpleCaseExpression.cases |
List<Pair<Expression,Expression>> |
FullCaseExpression.cases |
Constructor and Description |
---|
FullCaseExpression(List<Pair<Expression,Expression>> cases,
Expression defaultValue) |
SimpleCaseExpression(Expression condition,
List<Pair<Expression,Expression>> cases,
Expression defaultValue) |
Modifier and Type | Class and Description |
---|---|
class |
Tuple3<A,B,C>
Deprecated.
Prefer to using a lambda expression to convert to your own type.
|
class |
Tuple4<A,B,C,D>
Deprecated.
Prefer to using a lambda expression to convert to your own type.
|
class |
Tuple5<A,B,C,D,E>
Deprecated.
Prefer to using a lambda expression to convert to your own type.
|
Modifier and Type | Method and Description |
---|---|
static <A,B> Pair<A,B> |
Tuples.pair(A a,
B b)
Deprecated.
Returns a
Pair of 2 objects. |
static <A,B> Pair<A,B> |
Tuples.tuple(A a,
B b)
Deprecated.
Returns a
Pair of 2 objects. |
Modifier and Type | Method and Description |
---|---|
static <A,B> Map2<A,B,Pair<A,B>> |
Maps.toPair()
|
Copyright © 2013–2016 jparsec. All rights reserved.