prompto.grammar.CmpOp Maven / Gradle / Ivy
The newest version!
package prompto.grammar;
import prompto.transpiler.Transpiler;
public enum CmpOp {
GT(">"),
GTE(">="),
LT("<"),
LTE("<=");
String token;
CmpOp(String token) {
this.token = token;
}
@Override
public String toString() {
return token;
}
public void transpile(Transpiler transpiler) {
transpiler.append(this.name().toLowerCase());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy