The module Args
parses the command line using M3Args
of
the toolkit.
INTERFACEStablegenArgs ; IMPORT Type, StablegenError; PROCEDURE Get(VAR object: Type.Qid; VAR reveal, impl, rep: TEXT) RAISES {StablegenError.E};
Parse the command line and return the type to be made stable inobject
and the name of the module containing the implementation of the stable subtype inimpl
.reveal
is the name of the interface containing the most specific revealation ofobject
.rep
is the name of the instatiatedStableRep
generic module. The exception is raised if the parameters are unusable (i.e.\ invalid or ``-help'')
END StablegenArgs.