1 package polyglot.lex; 2 3 import java.util.Hashtable ; 4 import polyglot.util.Position; 5 import java_cup.runtime.Symbol; 6 7 8 public class Operator extends Token { 9 String which; 10 public Operator(Position position, String which, int sym) { 11 super(position, sym); 12 this.which = which; 13 } 14 15 public String toString() { return "operator " + which; } 16 } 17 | Popular Tags |