Class FindBNF
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----GWin
|
+----Project
|
+----FindBNF
- public class FindBNF
- extends Project
send all BNF strings to standard out
This code is (c) 1996 Leemon Baird
<leemon@cs.cmu.edu>,
http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely.
If the code is modified, please state so in the comments.
- Version:
- 1.0, 24 Aug 96
- Author:
- Leemon Baird
-
FindBNF()
-
-
BNF(int)
-
-
paint(Graphics)
- Print the credits
-
parse(Parser, int)
- Parse the input file to get the parameters for this object.
-
run()
- Print all the BNF strings
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
FindBNF
public FindBNF()
BNF
public String BNF(int lang)
- Overrides:
- BNF in class Project
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
- Overrides:
- unparse in class Project
- See Also:
- Parsable
parse
public Object parse(Parser p,
int lang) throws ParserException
- Parse the input file to get the parameters for this object.
- Throws: ParserException
- parser didn't find the required token
- Overrides:
- parse in class Project
run
public void run()
- Print all the BNF strings
- Overrides:
- run in class Project
paint
public void paint(Graphics g)
- Print the credits
- Overrides:
- paint in class GWin