01: /**************************************************************************/
02: /* N I C E */
03: /* A high-level object-oriented research language */
04: /* (c) Daniel Bonniot 2003 */
05: /* */
06: /* This program is free software; you can redistribute it and/or modify */
07: /* it under the terms of the GNU General Public License as published by */
08: /* the Free Software Foundation; either version 2 of the License, or */
09: /* (at your option) any later version. */
10: /* */
11: /**************************************************************************/package bossa.modules;
12:
13: /**
14: An abstract parent for Compilation.
15:
16: Allows methods to be in the Java style.
17:
18: @author (bonniot@users.sourceforge.net)
19: */
20:
21: public abstract class CompilationInterface extends
22: mlsub.compilation.Compilation {
23: public abstract void error(bossa.util.UserError ex);
24:
25: public abstract void warning(bossa.util.Location loc, String message);
26:
27: public abstract void exitIfErrors();
28:
29: public abstract void progress(Package pkg, String phase);
30:
31: public abstract void addNumberOfDeclarations(int number);
32:
33: public abstract int getNumberOfDeclarations();
34:
35: public abstract void addProgress(float weight);
36: }
|