1 package polyglot.ast; 2 3 import polyglot.util.Enum; 4 5 9 public interface IntLit extends NumLit 10 { 11 12 public static class Kind extends Enum { 13 public Kind(String name) { super(name); } 14 } 15 16 public static final Kind INT = new Kind("int"); 17 public static final Kind LONG = new Kind("long"); 18 19 20 long value(); 21 22 23 IntLit value(long value); 24 25 26 Kind kind(); 27 28 29 IntLit kind(Kind kind); 30 31 32 boolean boundary(); 33 34 35 String positiveToString(); 36 } 37 | Popular Tags |