1 23 24 package net.percederberg.grammatica.test; 25 26 32 interface ArithmeticConstants { 33 34 37 public static final int ADD = 1001; 38 39 42 public static final int SUB = 1002; 43 44 47 public static final int MUL = 1003; 48 49 52 public static final int DIV = 1004; 53 54 57 public static final int LEFT_PAREN = 1005; 58 59 62 public static final int RIGHT_PAREN = 1006; 63 64 67 public static final int NUMBER = 1007; 68 69 72 public static final int IDENTIFIER = 1008; 73 74 77 public static final int WHITESPACE = 1009; 78 79 82 public static final int EXPRESSION = 2001; 83 84 87 public static final int EXPRESSION_REST = 2002; 88 89 92 public static final int TERM = 2003; 93 94 97 public static final int TERM_REST = 2004; 98 99 102 public static final int FACTOR = 2005; 103 104 107 public static final int ATOM = 2006; 108 } 109 | Popular Tags |