foundation.jpa.querydsl.where.StateLogicalAndBooleanExpression2 Maven / Gradle / Ivy
package foundation.jpa.querydsl.where;
import foundation.rpg.parser.UnexpectedInputException;
import foundation.rpg.parser.Named;
import java.util.Arrays;
import java.util.List;
// Generated visitor pattern based state for grammar parser.
public class StateLogicalAndBooleanExpression2 extends StackState {
// NoStack:
// Stack:
public StateLogicalAndBooleanExpression2(foundation.jpa.querydsl.where.QueryFactory factory, com.querydsl.core.types.dsl.BooleanExpression node, State prev) {
super(factory, node, prev);
}
// Reduce:
@Override
public State visitRPar(foundation.rpg.common.symbols.RPar symbol) throws UnexpectedInputException {
State stack1 = this.getPrev();
return stack1.visitLogicalOrBooleanExpression((this.getNode())).visitRPar(symbol);
}
@Override
public State visitOr(foundation.rpg.common.symbols.Or symbol) throws UnexpectedInputException {
State stack1 = this.getPrev();
return stack1.visitLogicalOrBooleanExpression((this.getNode())).visitOr(symbol);
}
// Shift:
@Override
public State visitAnd(foundation.rpg.common.symbols.And symbol) {
return new StateAnd2(getFactory(), symbol, this);
}
// Accept:
@Override
public List