|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.chalmers.cs.gf.gfcutil.GFCMModules
public class GFCMModules
Contains a collection of GFC modules which share an abstract syntax.
Constructor Summary | |
---|---|
GFCMModules(se.chalmers.cs.gf.GFC.Absyn.Canon gfc)
|
Method Summary | |
---|---|
GFCModule |
getMainAbstractModule()
Gets the main abstract module. |
java.util.List<GFCModule> |
getMainConcreteModules()
Gets the main concrete modules, i.e. |
GFCModule |
getModule(java.lang.String name)
Gets a module by name. |
static GFCMModules |
loadGFCM(java.io.Reader input)
Load a GFCM grammar from a Reader. |
static GFCMModules |
loadGFCM(java.lang.String file)
Load a GFCM grammar from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GFCMModules(se.chalmers.cs.gf.GFC.Absyn.Canon gfc)
Method Detail |
---|
public GFCModule getModule(java.lang.String name)
public GFCModule getMainAbstractModule()
public java.util.List<GFCModule> getMainConcreteModules()
public static GFCMModules loadGFCM(java.lang.String file) throws java.io.FileNotFoundException, java.io.IOException
file
- Filename.
java.io.FileNotFoundException
java.io.IOException
public static GFCMModules loadGFCM(java.io.Reader input) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |