Package jflex.generator
Class Emitter
java.lang.Object
jflex.generator.Emitter
This class manages the actual code generation, putting the scanner together, filling in skeleton
sections etc.
Table compression, String packing etc. is also done here.
- Version:
- JFlex 1.8.2
- Author:
- Gerwin Klein
-
Method Summary
-
Method Details
-
normalize
Constructs a file in Options.getDir() or in the same directory as another file. Makes a backup if the file already exists.- Parameters:
name
- the name (without path) of the fileinput
- fall back location ifpath = null
(expected to be a file in the directory to write to)- Returns:
- The constructed File
-
sourceFileString
-
emit
public void emit()Main Emitter method.
-