Attr3b.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Satterthwaite, April 7, 1986 1:01:07 pm PST
Donahue, 10-Dec-81 11:23:00
Russ Atkinson (RRA) March 6, 1985 10:38:47 pm PST
DIRECTORY
A3: TYPE USING [AccessMode, CanonicalType, LhsMode, LifeTime],
Alloc: TYPE USING [Notifier],
ComData: TYPE USING [typeINT, typeSTRING],
P3: TYPE USING [phraseNP, RecordLhs, SetNP],
P3S: TYPE USING [currentBody],
Symbols: TYPE USING [Base, Type, ISEIndex, CSEIndex, ContextLevel, CTXIndex, CBTIndex, CSENull, CTXNull, CBTNull, lG, lZ, typeANY, bodyType, ctxType, seType],
SymbolOps: TYPE USING [CtxLevel, XferMode],
Tree: TYPE USING [Base, Index, Link, NullIndex, treeType],
TreeOps: TYPE USING [GetInfo, ListLength, NthSon, OpName];
Attr3b:
PROGRAM
IMPORTS A3, P3, P3S, SymbolOps, TreeOps, dataPtr: ComData
EXPORTS A3 = {
OPEN SymbolOps, Symbols, TreeOps, A: A3;
tb: Tree.Base; -- tree base address (local copy)
seb: Base; -- se table base address (local copy)
ctxb: Base; -- context table base address (local copy)
bb: Base; -- body table base address (local copy)
TreeNotify:
PUBLIC Alloc.Notifier = {
called by allocator whenever table area is repacked
seb ← base[seType]; ctxb ← base[ctxType];
bb ← base[bodyType];
tb ← base[Tree.treeType]};