" before or after a PicPipe to
say what the picture is
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, 11 May 96
- Author:
- Leemon Baird
-
desc
-
-
Description()
-
-
BNF(int)
- Return BNF description of parameters for this object, when parsing language lang.
-
init(PicPipeList)
- Initialize the description of this object
and remove this object from the linked list of objects
to call while drawing the image.
-
parse(Parser, int)
- Parse the input file to get the parameters for this object.
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
desc
protected String desc
Description
public Description()
BNF
public String BNF(int lang)
- Return BNF description of parameters for this object, when parsing language lang.
- Overrides:
- BNF in class PicPipe
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
- Overrides:
- unparse in class PicPipe
- 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 PicPipe
init
public PicPipeList init(PicPipeList list)
- Initialize the description of this object
and remove this object from the linked list of objects
to call while drawing the image. When called, list.first
is this object, and list.rest.first is the source object.
If this object is the first pipeline in the sequence, then
it will never be called by get() anyway, so it can stay on
the linked list, and can call setDescription on itself.
- Overrides:
- init in class PicPipe
All Packages Class Hierarchy This Package Previous Next Index