01: /**************************************************************************/
02: /* N I C E */
03: /* A high-level object-oriented research language */
04: /* (c) Daniel Bonniot 2004 */
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: import java.io.*;
14: import java.util.*;
15: import bossa.syntax.LocatedString;
16:
17: /**
18: The interface of a parser for the Nice language
19:
20: @author Daniel Bonniot (bonniot@users.sourceforge.net)
21: */
22:
23: public interface Parser {
24: LocatedString readImports(Reader r, List imports, Collection opens);
25:
26: void read(Reader r, bossa.syntax.Module module, List definitions);
27:
28: /*bossa.syntax.FormalParameters*/Object formalParameters(
29: String parameters);
30: }
|