/usr/share/doc/racket/scribble/doc-classes.html is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>4.3.4 Documenting Classes and Interfaces</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">►</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Scribble:<span class="mywbr"> </span> The Racket Documentation Tool</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="getting-started.html" class="tocviewlink" data-pltdoc="x">Getting Started</a></td></tr><tr><td align="right">2 </td><td><a href="reader.html" class="tocviewlink" data-pltdoc="x">@ Syntax</a></td></tr><tr><td align="right">3 </td><td><a href="generic-prose.html" class="tocviewlink" data-pltdoc="x">High-<wbr></wbr>Level Scribble API</a></td></tr><tr><td align="right">4 </td><td><a href="plt-manuals.html" class="tocviewselflink" data-pltdoc="x">Scribbling Documentation</a></td></tr><tr><td align="right">5 </td><td><a href="lp.html" class="tocviewlink" data-pltdoc="x">Literate Programming</a></td></tr><tr><td align="right">6 </td><td><a href="internals.html" class="tocviewlink" data-pltdoc="x">Low-<wbr></wbr>Level Scribble API</a></td></tr><tr><td align="right">7 </td><td><a href="running.html" class="tocviewlink" data-pltdoc="x">Running <span class="stt">scribble</span></a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">►</a></td><td>4 </td><td><a href="plt-manuals.html" class="tocviewlink" data-pltdoc="x">Scribbling Documentation</a></td></tr></table><div class="tocviewsublist" style="display: none;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">4.1 </td><td><a href="how-to-doc.html" class="tocviewlink" data-pltdoc="x">Getting Started with Documentation</a></td></tr><tr><td align="right">4.2 </td><td><a href="reference-style.html" class="tocviewlink" data-pltdoc="x">Style Guide</a></td></tr><tr><td align="right">4.3 </td><td><a href="manual.html" class="tocviewselflink" data-pltdoc="x">Manual Forms</a></td></tr><tr><td align="right">4.4 </td><td><a href="scheme.html" class="tocviewlink" data-pltdoc="x">Racket</a></td></tr><tr><td align="right">4.5 </td><td><a href="eval.html" class="tocviewlink" data-pltdoc="x">Evaluation and Examples</a></td></tr><tr><td align="right">4.6 </td><td><a href="srcdoc.html" class="tocviewlink" data-pltdoc="x">In-<wbr></wbr>Source Documentation</a></td></tr><tr><td align="right">4.7 </td><td><a href="bnf.html" class="tocviewlink" data-pltdoc="x">BNF Grammars</a></td></tr><tr><td align="right">4.8 </td><td><a href="Compatibility_Libraries.html" class="tocviewlink" data-pltdoc="x">Compatibility Libraries</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_2");">▼</a></td><td>4.3 </td><td><a href="manual.html" class="tocviewlink" data-pltdoc="x">Manual Forms</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_2"><table cellspacing="0" cellpadding="0"><tr><td align="right">4.3.1 </td><td><a href="scribble_manual_code.html" class="tocviewlink" data-pltdoc="x">Typesetting Code</a></td></tr><tr><td align="right">4.3.2 </td><td><a href="doc-modules.html" class="tocviewlink" data-pltdoc="x">Documenting Modules</a></td></tr><tr><td align="right">4.3.3 </td><td><a href="doc-forms.html" class="tocviewlink" data-pltdoc="x">Documenting Forms, Functions, Structure Types, and Values</a></td></tr><tr><td align="right">4.3.4 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Documenting Classes and Interfaces</a></td></tr><tr><td align="right">4.3.5 </td><td><a href="doc-signatures.html" class="tocviewlink" data-pltdoc="x">Documenting Signatures</a></td></tr><tr><td align="right">4.3.6 </td><td><a href="doc-strings.html" class="tocviewlink" data-pltdoc="x">Various String Forms</a></td></tr><tr><td align="right">4.3.7 </td><td><a href="section-links.html" class="tocviewlink" data-pltdoc="x">Links</a></td></tr><tr><td align="right">4.3.8 </td><td><a href="manual-indexing.html" class="tocviewlink" data-pltdoc="x">Indexing</a></td></tr><tr><td align="right">4.3.9 </td><td><a href="Bibliography.html" class="tocviewlink" data-pltdoc="x">Bibliography</a></td></tr><tr><td align="right">4.3.10 </td><td><a href="Version_History.html" class="tocviewlink" data-pltdoc="x">Version History</a></td></tr><tr><td align="right">4.3.11 </td><td><a href="Miscellaneous.html" class="tocviewlink" data-pltdoc="x">Miscellaneous</a></td></tr><tr><td align="right">4.3.12 </td><td><a href="index-entries.html" class="tocviewlink" data-pltdoc="x">Index-<wbr></wbr>Entry Descriptions</a></td></tr><tr><td align="right">4.3.13 </td><td><a href="manual-render-style.html" class="tocviewlink" data-pltdoc="x">Manual Rendering Style</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defclass</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%2Ftitle%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defclass/<span class="mywbr"> </span>title</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">definterface</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%2Ftitle%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">definterface/<span class="mywbr"> </span>title</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defmixin</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmixin%2Ftitle%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defmixin/<span class="mywbr"> </span>title</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defconstructor</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2Fmake%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defconstructor/<span class="mywbr"> </span>make</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2A%2Fmake%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defconstructor*/<span class="mywbr"> </span>make</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2Fauto-super%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defconstructor/<span class="mywbr"> </span>auto-<wbr></wbr>super</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defmethod</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%2A%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">defmethod*</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._method%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">method</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._xmethod%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">xmethod</span></span></a></td></tr><tr><td><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._this-obj%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">this-<wbr></wbr>obj</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="doc-forms.html" title="backward to "4.3.3 Documenting Forms, Functions, Structure Types, and Values"" data-pltdoc="x">← prev</a> <a href="manual.html" title="up to "4.3 Manual Forms"" data-pltdoc="x">up</a> <a href="doc-signatures.html" title="forward to "4.3.5 Documenting Signatures"" data-pltdoc="x">next →</a></span> </div><h5 x-source-module="(lib "scribblings/scribble/scribble.scrbl")" x-source-pkg="scribble-doc" x-part-tag=""doc-classes"">4.3.4<tt> </tt><a name="(part._doc-classes)"></a>Documenting Classes and Interfaces</h5><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defclass))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defclass</a></span></span><span class="hspace"> </span><span class="RktVar">maybe-link</span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktVar">super</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">intf-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="stt"> </span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="specgrammar"><tr><td align="right" valign="baseline"><span class="RktVar">maybe-link</span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">=</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td></td></tr></table></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:link-target?</span><span class="hspace"> </span><span class="RktVar">link-target?-expr</span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td></tr><tr><td align="right" valign="baseline"><span class="RktVar">super</span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">=</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktVar">super-id</span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">(</span><span class="RktVar">mixin-id</span><span class="hspace"> </span><span class="RktVar">super</span><span class="RktPn">)</span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Creates documentation for a class <span class="RktVar">id</span> that is a subclass of
<span class="RktVar">super</span> and implements each interface <span class="RktVar">intf-id</span>. Each
identifier in <span class="RktVar">super</span> (except <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._object%7E25%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">object%</a></span>) and
<span class="RktVar">intf-id</span> must be documented somewhere via <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span> or
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="RktStxLink" data-pltdoc="x">definterface</a></span>.</div></p><p>The decoding of the <span class="RktVar">pre-flow</span> sequence should start with
general documentation about the class, followed by constructor
definition (see <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%29%29" class="RktStxLink" data-pltdoc="x">defconstructor</a></span>), and then field and method
definitions (see <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%29%29" class="RktStxLink" data-pltdoc="x">defmethod</a></span>). In rendered form, the
constructor and method specification are indented to visually group
them under the class definition.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defclass/title))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%2Ftitle%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defclass/title</a></span></span><span class="hspace"> </span><span class="RktVar">maybe-link</span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktVar">super</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">intf-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span>, also includes a <span class="RktSym"><a href="base.html#%28def._%28%28lib._scribble%2Fbase..rkt%29._title%29%29" class="RktValLink" data-pltdoc="x">title</a></span> declaration
with the style <span class="RktVal">'</span><span class="RktVal">hidden</span>. In addition, the constructor and
methods are not left-indented.</div></p><p>This form is normally used to create a section to be rendered on its
own HTML. The <span class="RktVal">'</span><span class="RktVal">hidden</span> style is used because the definition
box serves as a title.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._definterface))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">definterface</a></span></span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">intf-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span>, but for an interfaces. Naturally,
<span class="RktVar">pre-flow</span> should not generate a constructor declaration.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._definterface/title))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%2Ftitle%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">definterface/title</a></span></span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">intf-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="RktStxLink" data-pltdoc="x">definterface</a></span>, but for single-page rendering as in
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%2Ftitle%29%29" class="RktStxLink" data-pltdoc="x">defclass/title</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defmixin))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmixin%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defmixin</a></span></span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">domain-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">range-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span>, but for a mixin. Any number of
<span class="RktVar">domain-id</span> classes and interfaces are specified for the
mixin’s input requires, and any number of result classes and (more
likely) interfaces are specified for the <span class="RktVar">range-id</span>. The
<span class="RktVar">domain-id</span>s supply inherited methods.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defmixin/title))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmixin%2Ftitle%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defmixin/title</a></span></span><span class="hspace"> </span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">domain-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">range-id</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmixin%29%29" class="RktStxLink" data-pltdoc="x">defmixin</a></span>, but for single-page rendering as in
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%2Ftitle%29%29" class="RktStxLink" data-pltdoc="x">defclass/title</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defconstructor))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defconstructor</a></span></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="stt"> </span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="specgrammar"><tr><td align="right" valign="baseline"><span class="RktVar">arg-spec</span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">=</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">(</span><span class="RktVar">arg-id</span><span class="hspace"> </span><span class="RktVar">contract-expr-datum</span><span class="RktPn">)</span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">(</span><span class="RktVar">arg-id</span><span class="hspace"> </span><span class="RktVar">contract-expr-datum</span><span class="hspace"> </span><span class="RktVar">default-expr</span><span class="RktPn">)</span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defproc%29%29" class="RktStxLink" data-pltdoc="x">defproc</a></span>, but for a constructor declaration in the body
of <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span>, so no return contract is specified. Also, the
<span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=objcreation.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._new%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">new</a></span>-style keyword for each <span class="RktVar">arg-spec</span> is implicit from
the <span class="RktVar">arg-id</span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defconstructor/make))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2Fmake%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defconstructor/make</a></span></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%29%29" class="RktStxLink" data-pltdoc="x">defconstructor</a></span>, but specifying by-position
initialization arguments (for use with <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=objcreation.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._make-object%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">make-object</a></span>) instead
of by-name arguments (for use with <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=objcreation.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._new%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">new</a></span>).</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defconstructor*/make))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2A%2Fmake%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defconstructor*/make</a></span></span><span class="hspace"> </span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">]</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2Fmake%29%29" class="RktStxLink" data-pltdoc="x">defconstructor/make</a></span>, but with multiple constructor
patterns analogous <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defproc%2A%29%29" class="RktStxLink" data-pltdoc="x">defproc*</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defconstructor/auto-super))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%2Fauto-super%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defconstructor/auto-super</a></span></span><span class="hspace"> </span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">]</span><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defconstructor%29%29" class="RktStxLink" data-pltdoc="x">defconstructor</a></span>, but the constructor is
annotated to indicate that additional initialization arguments are
accepted and propagated to the superclass.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><table cellspacing="0" cellpadding="0" class="RktBlk RForeground"><tr><td><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defmethod))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defmethod</a></span></span><span class="hspace"> </span><span class="RktVar">maybe-mode</span><span class="hspace"> </span><span class="RktVar">maybe-link</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">result-contract-expr-datum</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="stt"> </span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="specgrammar"><tr><td align="right" valign="baseline"><span class="RktVar">maybe-link</span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">=</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td></td></tr></table></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:link-target?</span><span class="hspace"> </span><span class="RktVar">link-target?-expr</span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td></tr><tr><td align="right" valign="baseline"><span class="RktVar">maybe-mode</span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">=</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td></td></tr></table></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._override%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">override</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._override-final%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">override-final</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._public-final%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">public-final</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._augment%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">augment</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._augment-final%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">augment-final</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._pubment%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">pubment</a></span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym">extend</span></td></tr><tr><td align="right" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="center" valign="baseline">|</td><td align="left" valign="baseline"><span class="stt"> </span></td><td align="left" valign="baseline"><span class="RktPn">#:mode</span><span class="hspace"> </span><span class="RktSym">extend-final</span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defproc%29%29" class="RktStxLink" data-pltdoc="x">defproc</a></span>, but for a method within a <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span> or
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="RktStxLink" data-pltdoc="x">definterface</a></span> body.</div></p><p>The <span class="RktVar">maybe-mode</span> specifies whether the method overrides a
method from a superclass, and so on. (For these purposes, use
<span class="RktPn">#:mode</span><span class="stt"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._override%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">override</a></span> when refining a method of an implemented
interface.) The <span class="RktSym">extend</span> mode is like <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=createclass.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._override%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">override</a></span>, but
the description of the method should describe only extensions to the
superclass implementation.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><table cellspacing="0" cellpadding="0" class="RktBlk RForeground"><tr><td><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._defmethod*))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%2A%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">defmethod*</a></span></span><span class="hspace"> </span><span class="RktVar">maybe-mode</span><span class="hspace"> </span><span class="RktVar">maybe-link</span></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">[</span><span class="RktPn">(</span><span class="RktVar">id</span><span class="hspace"> </span><span class="RktVar">arg-spec</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">result-contract-expr-datum</span><span class="RktPn">]</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">pre-flow</span><span class="hspace"> </span><span class="RktMeta">...</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="doc-forms.html#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defproc%2A%29%29" class="RktStxLink" data-pltdoc="x">defproc*</a></span>, but for a method within a <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defclass%29%29" class="RktStxLink" data-pltdoc="x">defclass</a></span> or
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._definterface%29%29" class="RktStxLink" data-pltdoc="x">definterface</a></span> body. The <span class="RktVar">maybe-mode</span> specification is as in
<span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%29%29" class="RktStxLink" data-pltdoc="x">defmethod</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._method))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._method%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">method</a></span></span><span class="hspace"> </span><span class="RktVar">class/intf-id</span><span class="hspace"> </span><span class="RktVar">method-id</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Creates a hyperlink to the method named by <span class="RktVar">method-id</span> in the
class or interface named by <span class="RktVar">class/intf-id</span>. The hyperlink
names the method, only; see also <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._xmethod%29%29" class="RktStxLink" data-pltdoc="x">xmethod</a></span>.</div></p><p>For-label binding information is used with <span class="RktVar">class/intf-id</span>, but
not <span class="RktVar">method-id</span>.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._xmethod))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._xmethod%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">xmethod</a></span></span><span class="hspace"> </span><span class="RktVar">class/intf-id</span><span class="hspace"> </span><span class="RktVar">method-id</span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Like <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._method%29%29" class="RktStxLink" data-pltdoc="x">method</a></span>, but the hyperlink shows both the method name and
the containing class/interface.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>syntax</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(form._((lib._scribble/manual..rkt)._this-obj))"></a><span title="Provided from: scribble/manual | Package: scribble-lib"><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._this-obj%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">this-obj</a></span></span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Within a <span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._defmethod%29%29" class="RktStxLink" data-pltdoc="x">defmethod</a></span> or similar form, typesets as a
meta-variable that stands for the target of the method call. Use
<span class="RktPn">(</span><span class="RktSym"><a href="#%28form._%28%28lib._scribble%2Fmanual..rkt%29._this-obj%29%29" class="RktStxLink" data-pltdoc="x">this-obj</a></span><span class="RktPn">)</span> to be more precise than prose such as “this
method’s object.”</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="doc-forms.html" title="backward to "4.3.3 Documenting Forms, Functions, Structure Types, and Values"" data-pltdoc="x">← prev</a> <a href="manual.html" title="up to "4.3 Manual Forms"" data-pltdoc="x">up</a> <a href="doc-signatures.html" title="forward to "4.3.5 Documenting Signatures"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|