MakeDoParsers.Mesa
Last tweaked by Mike Spreitzer on June 21, 1991 7:43 am PDT
DIRECTORY MakeDo, Rope, SymTab;
MakeDoParsers: CEDAR DEFINITIONS = {OPEN MakeDo;
ParseData: TYPE = REF ParseDataRep; ParseDataRep: TYPE = RECORD [
source: Node,
stamp: Time ← notExistTime,
sourceType: SourceType,
resultType: ResultType ← Unknown,
refdModules: SymTab.Ref, --actually file names without extensions
refdFiles: SymTab.Ref, --STATIC REQUESTS from configs, all from C files
refdFileSeq: RopeList --the members of refdFiles, in reverse of the order they were encountered
];
SourceType: TYPE = {Unknown, Mesa, Config, PlainC, Scheme, Cluster};
ResultType: TYPE = {Unknown, MobAndC, MobOnly, O, SxCAndO};
GetParseData: PROC [sourceNode: MakeDo.Node, sourceType: SourceType] RETURNS [ParseData];
Returns NIL if it doesn't exist
EnumerateWithSuffix: PROC [SymTab.Ref, ROPE, PROC [ROPE]];
FlushCache: PROC;
}.