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

foundation.jpa.querydsl.where.StateCommaSeparatedListOfExpression2 Maven / Gradle / Ivy

There is a newer version: 0.29
Show newest version
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 StateCommaSeparatedListOfExpression2 extends StackState, StackState>> {

// NoStack:
// Stack:
    public StateCommaSeparatedListOfExpression2(foundation.jpa.querydsl.where.QueryFactory factory, java.util.List node, StackState> prev) {
        super(factory, node, prev);
    }


// Reduce:
// Shift:
    @Override
    public State visitRPar(foundation.rpg.common.symbols.RPar symbol) {
        return new StateRPar6(getFactory(), symbol, this);
    }


// Accept:
    @Override
    public List stack() {
        StackState> stack1 = this.getPrev();
		StackState stack2 = stack1.getPrev();
		State stack3 = stack2.getPrev();
        return Arrays.asList(stack2.getNode(), stack1.getNode(), this.getNode());
    }

}