abstract void |
Expr.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes one of the given actions dependent on the concrete
expression type.
|
void |
Expr.And.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes the action for the Expr.And type.
|
void |
Expr.Lit.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes the action for the Expr.Lit type.
|
void |
Expr.Not.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes the action for the Expr.Not type.
|
void |
Expr.Or.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes the action for the Expr.Or type.
|
void |
Expr.Var.accept(Consumer<Expr.Lit> litFn,
Consumer<Expr.Var> varFn,
Consumer<Expr.And> andFn,
Consumer<Expr.Or> orFn,
Consumer<Expr.Not> notFn) |
Executes the action for the Expr.Var type.
|
<R> R |
Expr.And.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies the function for the Expr.And type.
|
abstract <R> R |
Expr.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies one of the given functions dependent on the concrete
expression type.
|
<R> R |
Expr.Lit.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies the function for the Expr.Lit type.
|
<R> R |
Expr.Not.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies the function for the Expr.Not type.
|
<R> R |
Expr.Or.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies the function for the Expr.Or type.
|
<R> R |
Expr.Var.apply(Function<Expr.Lit,R> litFn,
Function<Expr.Var,R> varFn,
Function<Expr.And,R> andFn,
Function<Expr.Or,R> orFn,
Function<Expr.Not,R> notFn) |
Applies the function for the Expr.Var type.
|