Main code generating module. Do() produces the implementation
of a stable subtype of its parameter qid.
INTERFACEGenCode ; IMPORT Type, M3Context, StablegenError; PROCEDURE Do (c : M3Context.T; qid : Type.Qid; reveal, implName, repName: TEXT ) RAISES {StablegenError.E};
Generate implementation for the object which type is named byqid.cis the current compilation context. An exception is raised if an error is detected.revealis the name of the interface containing the most specific revealation ofqid.implNameis the name of the implementation module for the stable subtype.repNameis the module name of the generic part of the implementation of the stable object (usually likeimplNamewith a ``Rep'' appended). TherepNamemodule is made by instatiating the genericStableRepmodule.
END GenCode.