--File ParserDefs.mesa
--March 1, 1980 11:55 PM
ParserDefs: 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 [BOOLEAN];
FinishParser: PROCEDURE RETURNS [BOOLEAN];
ParseStatement: PROCEDURE RETURNS [CommandType];
END.