-- file SMUtil.mesa
-- last modified by Satterthwaite, June 17, 1983 8:36 am
-- last edit by Schmidt, April 29, 1982 3:25 pm
-- exported by SMReaderImpl and SMPrettyImpl

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];

  }.