|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJFlex.Skeleton
This class stores the skeleton of an generated scanner. The skeleton consists of several parts that can be emitted to a file. Usually there belongs a portion of generated code (which is produced in class Emitter) to every two parts of skeleton code.
Emitter| Field Summary | |
static java.lang.String[] |
line
The skeleton of a scanner |
| Constructor Summary | |
Skeleton(java.io.PrintWriter out)
Creates a new skeleton instance. |
|
| Method Summary | |
void |
emitNext()
Emits the next part of the skeleton |
static void |
readSkelFile(java.io.File skeletonFile)
Reads an external skeleton file for later use with this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String[] line
| Constructor Detail |
public Skeleton(java.io.PrintWriter out)
out - the writer to write the skeleton-parts to| Method Detail |
public void emitNext()
public static void readSkelFile(java.io.File skeletonFile)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||