JFlex
public final class Emitter extends Object
| Field Summary | |
|---|---|
| static File | directory |
| Constructor Summary | |
|---|---|
| Emitter(File inputFile, LexParse parser, DFA dfa) | |
| Method Summary | |
|---|---|
| void | emit() |
| static File | normalize(String name, File path, File input)
Constructs a file in a path or in the same directory as
another file. |
| static URL | toURL(File file)
Converts an abstract pathname into a file: URL. |
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)
file: URL. The
exact form of the URL is system-dependent. If it can be determined that
the file denoted by this abstract pathname is a directory, then the
resulting URL will end with a slash.