3 // this class stores all the information needed for between passes
10 public static State currentState = null;
12 public static boolean failed = false;
13 public static boolean debug = false;
14 public static int verbose = 0;
16 public static String infile;
17 public static String outfile;
19 public static final int VERBOSE_TOKENS = 1;
21 public ParseNode ptStructures;
22 public ParseNode ptModel;
23 public ParseNode ptConstraints;
24 public ParseNode ptSpace;
26 public SymbolTable stSets;
27 public SymbolTable stRelations;
28 public SymbolTable stTypes;
29 public SymbolTable stGlobals;
31 public Vector vConstraints;
34 public Hashtable rulenodes;
35 public Hashtable constraintnodes;
36 public Hashtable implicitrule;
50 implicitrule=new Hashtable();
54 for(int i=0;i<vRules.size();i++) {
55 Rule r=(Rule)vRules.get(i);
56 System.out.println(r.toString());
58 for(int i=0;i<vConstraints.size();i++) {
59 Constraint c=(Constraint)vConstraints.get(i);
60 System.out.println(c.toString());