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).


Variable Index

 o jj_nt
 o lookingAhead
 o token
 o token_source

Constructor Index

 o FIL(FILTokenManager)
 o FIL(InputStream)

Method Index

 o disable_tracing()
 o enable_tracing()
 o generateParseException()
 o getFrame(FrameClass, int)
Looks up the nth instance of the given FrameClass.
 o getNextToken()
 o getToken(int)
 o Instance()
 o main(String[])
Runs the FIL parser on given input.
 o ReInit(FILTokenManager)
 o ReInit(InputStream)
 o Slot(Frame)
 o Start()
 o Value()
 o ValueList(Vector)

Variables

 o token_source
 public static FILTokenManager token_source
 o token
 public static Token token
 o jj_nt
 public static Token jj_nt
 o lookingAhead
 public static boolean lookingAhead

Constructors

 o FIL
 public FIL(InputStream stream)
 o FIL
 public FIL(FILTokenManager tm)

Methods

 o 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.
 o 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.
 o Start
 public static final void Start() throws ParseException
 o Instance
 public static final Frame Instance() throws ParseException
 o Slot
 public static final void Slot(Frame f) throws ParseException
 o Value
 public static final Object Value() throws ParseException
 o ValueList
 public static final void ValueList(Vector v) throws ParseException
 o ReInit
 public static void ReInit(InputStream stream)
 o ReInit
 public void ReInit(FILTokenManager tm)
 o getNextToken
 public static final Token getNextToken()
 o getToken
 public static final Token getToken(int index)
 o generateParseException
 public static final ParseException generateParseException()
 o enable_tracing
 public static final void enable_tracing()
 o disable_tracing
 public static final void disable_tracing()