001 002 //---------------------------------------------------- 003 // The following code was generated by CUP v0.10i 004 // Tue Mar 16 03:05:28 EST 1999 005 //---------------------------------------------------- 006 007 package com.croftsoft.apps.compiler; 008 009 /** CUP generated interface containing symbol constants. */ 010 public interface CalcSymbols { 011 /* terminals */ 012 public static final int WRITE = 18; 013 public static final int EQ = 9; 014 public static final int PLUS = 2; 015 public static final int MINUS = 3; 016 public static final int GT = 11; 017 public static final int TIMES = 4; 018 public static final int MOD = 6; 019 public static final int LPAREN = 16; 020 public static final int VARIABLE = 21; 021 public static final int GE = 13; 022 public static final int EOF = 0; 023 public static final int error = 1; 024 public static final int EXP = 7; 025 public static final int UMINUS = 8; 026 public static final int INTEGER = 20; 027 public static final int RPAREN = 17; 028 public static final int LT = 12; 029 public static final int NEQ = 10; 030 public static final int ASSIGN = 19; 031 public static final int DIVIDE = 5; 032 public static final int SEMICOLON = 15; 033 public static final int LE = 14; 034 035 /* non terminals */ 036 static final int statement = 3; 037 static final int program = 1; 038 static final int expression = 6; 039 static final int statementList = 2; 040 static final int assignment = 5; 041 static final int $START = 0; 042 static final int write = 4; 043 } 044