|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.jape.Compiler
Compiler for JAPE files.
Field Summary | |
private static boolean |
DEBUG
Debug flag |
(package private) static String |
defaultEncoding
|
private static boolean |
verbose
How much noise to make. |
Constructor Summary | |
Compiler()
|
Method Summary | |
static void |
compile(com.objectspace.jgl.Array fileNames)
The main compile method, taking a list of file names. |
static void |
compile(String japeFileName,
String encoding)
The main compile method, taking a file name. |
static void |
emessage(String mess)
Ooops. |
(package private) static String |
japeNameToSaveName(String japeFileName)
Convert a .jape file name to a .ser file name. |
static void |
main(String[] args)
Take a list of .jape files names and compile them to .ser. |
static void |
message(String mess)
Hello? Anybody there?? |
static Transducer |
parseJape(String japeFileName,
String encoding)
Parse a .jape and return a transducer, or throw exception. |
static void |
saveJape(String japeFileName,
Transducer transducer)
Save a .jape, or throw exception. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final boolean DEBUG
private static boolean verbose
static String defaultEncoding
Constructor Detail |
public Compiler()
Method Detail |
public static void main(String[] args)
public static void compile(String japeFileName, String encoding)
public static void compile(com.objectspace.jgl.Array fileNames)
public static Transducer parseJape(String japeFileName, String encoding) throws JapeException
public static void saveJape(String japeFileName, Transducer transducer) throws JapeException
static String japeNameToSaveName(String japeFileName)
public static void message(String mess)
public static void emessage(String mess)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |