
<<SMUtil.mesa>>
<<Copyright © 1985 by Xerox Corporation.  All rights reserved.>>
<<last edit by Satterthwaite, May 12, 1986 11:47:03 am PDT>>

DIRECTORY
IO: TYPE USING [STREAM],
SMCommentTableOps: TYPE USING [CommentM],
SMOps: TYPE USING [MS],
SMTree: TYPE Tree USING [Link];

SMUtil: CEDAR DEFINITIONS ~ {
OPEN Tree~~SMTree;

<<exported by SMReaderImpl>>

ParseStream: PROC[m: SMOps.MS, source: IO.STREAM] RETURNS[root: Tree.Link];

<<debugging>>

PrintTree: PROC[m: SMOps.MS, t: Tree.Link];
PrintSubTree: PROC[out: IO.STREAM, t: Tree.Link, nBlanks: NAT_0];

<<exported by SMPrettyImpl>>

PrettyPrint: PROC[
out: IO.STREAM, root: Tree.Link, comments: SMCommentTableOps.CommentM];

}.

