foundation.jpa.querydsl.StateLogicalOrBooleanExpression1 Maven / Gradle / Ivy
package foundation.jpa.querydsl;
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 StateLogicalOrBooleanExpression1 extends StackState {
// NoStack:
// Stack:
public StateLogicalOrBooleanExpression1(foundation.jpa.querydsl.QueryFactory factory, com.querydsl.core.types.dsl.BooleanExpression node, State prev) {
super(factory, node, prev);
}
// Reduce:
@Override
public State visitEnd(foundation.rpg.parser.End symbol) throws UnexpectedInputException {
State stack1 = this.getPrev();
return stack1.visitPredicate(getFactory().is(this.getNode())).visitEnd(symbol);
}
// Shift:
@Override
public State visitOr(foundation.rpg.common.symbols.Or symbol) {
return new StateOr1(getFactory(), symbol, this);
}
// Accept:
@Override
public List