Class FIL
java.lang.Object
|
+----FIL
- public class FIL
- extends Object
- implements FILConstants
The class `FIL' implements a parser for the Frame Instance Language (FIL).
-
jj_nt
-
-
lookingAhead
-
-
token
-
-
token_source
-
-
FIL(FILTokenManager)
-
-
FIL(InputStream)
-
-
disable_tracing()
-
-
enable_tracing()
-
-
generateParseException()
-
-
getFrame(FrameClass, int)
- Looks up the nth instance of the given FrameClass.
-
getNextToken()
-
-
getToken(int)
-
-
Instance()
-
-
main(String[])
- Runs the FIL parser on given input.
-
ReInit(FILTokenManager)
-
-
ReInit(InputStream)
-
-
Slot(Frame)
-
-
Start()
-
-
Value()
-
-
ValueList(Vector)
-
token_source
public static FILTokenManager token_source
token
public static Token token
jj_nt
public static Token jj_nt
lookingAhead
public static boolean lookingAhead
FIL
public FIL(InputStream stream)
FIL
public FIL(FILTokenManager tm)
getFrame
public static Frame getFrame(FrameClass frameClass,
int number)
- Looks up the nth instance of the given FrameClass. Note that
the instance numbers here are as specified in the FIL file rather
than the instance numbers frames are given internally.
- Parameters:
- frameClass - The frame class of the frame to look up.
- number - The instance number (as specified in the FIL file) of
the frame to look up.
- Returns:
- s The frame of that frame class which has that number.
main
public static void main(String args[]) throws ParseException
- Runs the FIL parser on given input.
- Parameters:
- argv - The vector of command line arguments. Each argument is
either an EXPRESS (.exp) file from which to construct the
frame classes (do not include frame_classes.exp as that is
read automatically) or an FIL (.fil) file for instances of
those frame classes. At most one of the arguments can be a case
library (.cas) file.
Start
public static final void Start() throws ParseException
Instance
public static final Frame Instance() throws ParseException
Slot
public static final void Slot(Frame f) throws ParseException
Value
public static final Object Value() throws ParseException
ValueList
public static final void ValueList(Vector v) throws ParseException
ReInit
public static void ReInit(InputStream stream)
ReInit
public void ReInit(FILTokenManager tm)
getNextToken
public static final Token getNextToken()
getToken
public static final Token getToken(int index)
generateParseException
public static final ParseException generateParseException()
enable_tracing
public static final void enable_tracing()
disable_tracing
public static final void disable_tracing()