foundation.jpa.querydsl.ElementIdentifier 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 ElementIdentifier implements Element {
private final foundation.rpg.common.symbols.Identifier symbol;
public ElementIdentifier(foundation.rpg.common.symbols.Identifier symbol) {
this.symbol = symbol;
}
@Override
public State accept(State state) throws UnexpectedInputException {
return state.visitIdentifier(symbol);
}
@Override
public String toString() {
return symbol.toString();
}
}