28.01.2015 Views

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

190B.6.OperationDescriptions type(result,polymorph) TypeRules: Preconditions: polymorph2polymorph<br />

init(polymorph) var(result) predefined!typeof--value Postconditions: makefull(result) Exceptions:Depletion<br />

Description:Storethetypeoftheobjectwrappedinsidepolymorphin Qualier:absent typename(result) TypeRules: result,alongwithanydenitionmodulesnecessarytoresolvethetype.<br />

Preconditions:<br />

var(result) predefined!typenamePostconditions:<br />

makefull(result) Exceptions:Depletion Seex11.9,p.127<br />

Description:Makeacopyofthetypenamefoundintheinstructionqualier,<strong>and</strong>storeitinresult.<br />

Qualier:typename typestate(result,polymorph) TypeRules: Preconditions: polymorph2polymorph<br />

predefined!typestateof--valueExceptions:Depletion<br />

Seex11.10,p.130<br />

Description:Storethetypestateoftheobjectwrappedinsidepolymorph Qualier:absent init(polymorph) var(result) straintattributes. inresult,alongwithanydenitionmodulesnecessarytoresolvecon-<br />

Postconditions: makeinit(result) Seex11.9,p.127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!