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