All Downloads are FREE. Search and download functionalities are using the official Maven repository.

foundation.jpa.querydsl.State1 Maven / Gradle / Ivy

There is a newer version: 0.29
Show newest version
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 State1 extends State {

// NoStack:
    public State1(foundation.jpa.querydsl.QueryFactory factory) {
        super(factory);
    }


// Stack:
// Reduce:
// Shift:
    @Override
    public State visitPredicate(com.querydsl.core.types.Predicate symbol) {
        return new StatePredicate1(getFactory(), symbol, this);
    }

    @Override
    public State visitLogicalOrBooleanExpression(com.querydsl.core.types.dsl.BooleanExpression symbol) {
        return new StateLogicalOrBooleanExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitLogicalAndBooleanExpression(com.querydsl.core.types.dsl.BooleanExpression symbol) {
        return new StateLogicalAndBooleanExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitRelationalBooleanExpression(com.querydsl.core.types.dsl.BooleanExpression symbol) {
        return new StateRelationalBooleanExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitNot(foundation.rpg.common.symbols.Not symbol) {
        return new StateNot1(getFactory(), symbol, this);
    }

    @Override
    public State visitLPar(foundation.rpg.common.symbols.LPar symbol) {
        return new StateLPar1(getFactory(), symbol, this);
    }

    @Override
    public State visitExpression(com.querydsl.core.types.Expression symbol) {
        return new StateExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitAdditiveExpression(com.querydsl.core.types.Expression symbol) {
        return new StateAdditiveExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitMultiplicativeExpression(com.querydsl.core.types.Expression symbol) {
        return new StateMultiplicativeExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitUnaryExpression(com.querydsl.core.types.Expression symbol) {
        return new StateUnaryExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitMinus(foundation.rpg.common.symbols.Minus symbol) {
        return new StateMinus1(getFactory(), symbol, this);
    }

    @Override
    public State visitAtomicExpression(com.querydsl.core.types.Expression symbol) {
        return new StateAtomicExpression1(getFactory(), symbol, this);
    }

    @Override
    public State visitObject(java.lang.Object symbol) {
        return new StateObject1(getFactory(), symbol, this);
    }

    @Override
    public State visitDouble(java.lang.Double symbol) {
        return new StateDouble1(getFactory(), symbol, this);
    }

    @Override
    public State visitLong(java.lang.Long symbol) {
        return new StateLong1(getFactory(), symbol, this);
    }

    @Override
    public State visitString(java.lang.String symbol) {
        return new StateString1(getFactory(), symbol, this);
    }

    @Override
    public State visitIdentifier(foundation.rpg.common.symbols.Identifier symbol) {
        return new StateIdentifier1(getFactory(), symbol, this);
    }


// Accept:
    @Override
    public List stack() {
        
        return Arrays.asList();
    }

}