foundation.jpa.querydsl.order.ElementToken Maven / Gradle / Ivy
package foundation.jpa.querydsl.order;
import foundation.rpg.parser.Element;
import foundation.rpg.parser.UnexpectedInputException;
// Generated token element wrapper for grammar parser.
public class ElementToken implements Element {
private final foundation.rpg.parser.Token symbol;
public ElementToken(foundation.rpg.parser.Token symbol) {
this.symbol = symbol;
}
@Override
public State accept(State state) throws UnexpectedInputException {
return state.visitToken(symbol);
}
@Override
public String toString() {
return symbol.toString();
}
}