File ParserDefs.mesa
March 1, 1980 11:55 PM
Last Edited by: McCreight, January 25, 1985 4:29:14 pm PST
ParserDefs: CEDAR DEFINITIONS =
BEGIN
Definitions for the Parser phase of the CIF 2.0 Parser. InitParser should be called once before ParseStatement is used. ParseStatement scans a valid CIF command and returns a code indicating what type of command was scanned. ParseStatement makes calls on routines in the Interpreter to handle the semantics of each statement.
CommandType: TYPE = {Wire, DefineStart, DefineEnd, DeleteDef, CallSymbol,
Layer, Flash, Polygon, Box, End, Comment, NullCommand,
SyntaxError, SemanticError, UserCommand};
InitParser: PROCEDURE RETURNS [BOOL];
FinishParser: PROCEDURE RETURNS [BOOL];
ParseStatement: PROCEDURE RETURNS [CommandType];
END.