JFlex
public final class Emitter extends Object
Constructor Summary | |
---|---|
Emitter(File inputFile, LexParse parser, DFA dfa) |
Method Summary | |
---|---|
void | emit()
Main Emitter method. |
void | emitActionTable() |
static boolean | endsWithJavadoc(StringBuffer usercode)
Try to find out if user code ends with a javadoc comment
|
static File | normalize(String name, File input)
Constructs a file in Options.getDir() or in the same directory as
another file. |
Parameters: buffer the user code
Returns: true if it ends with a javadoc comment
Parameters: name the name (without path) of the file path the path where to construct the file input fallback location if path = null (expected to be a file in the directory to write to)