/usr/share/mozart/doc/base/object.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>9.9 Objects</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="class.html#section.chunks.classes"><< Prev</A></TD><TD><A href="node11.html">- Up -</A></TD><TD><A href="functor.html#section.chunks.functors">Next >></A></TD></TR></TABLE><DIV id="section.chunks.objects"><H2><A name="section.chunks.objects">9.9 Objects</A></H2><P> The module <A name="label657"></A><SPAN class="index"><CODE>Object</CODE></SPAN> contains procedures operating on objects. </P><P> The system procedures that define the behaviour of Oz objects and classes are also given in this section. </P><DL><DT><A name="label658"></A><SPAN class="index"><CODE>IsObject</CODE></SPAN> <A name="label660"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Object<SPAN class="keyword">.</SPAN>is </CODE><CODE>+<I>X</I></CODE><CODE> </CODE><CODE>?<I>B</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>tests whether <CODE><I>X</I></CODE> is an object. </P></DD><DT><A name="label661"></A><SPAN class="index"><CODE>New</CODE></SPAN> <A name="label663"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Object<SPAN class="keyword">.</SPAN>new </CODE><CODE>+<I>K</I></CODE><CODE> </CODE><CODE>+<I>InitMessageR</I></CODE><CODE> </CODE><CODE>?<I>O</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>Creates a new object from class <CODE><I>K</I></CODE> with initial message <CODE><I>InitMessageR</I></CODE>. </P></DD></DL><P> </P><DIV class="unnumbered"><H3><A name="label664">The <CODE>BaseObject</CODE> Class</A></H3><P> <A name="label666"></A> The class <A name="label667"></A><SPAN class="index"><CODE>BaseObject</CODE></SPAN> defines the following method. </P><DL><DT><CODE>noop</CODE> <A name="label668"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>noop()</CODE> </P></BLOCKQUOTE></DD><DD><P>does nothing. It is defined as <CODE><SPAN class="keyword">meth</SPAN> <SPAN class="functionname">noop</SPAN>() <SPAN class="keyword">skip</SPAN> <SPAN class="keyword">end</SPAN></CODE>. </P></DD></DL><P> </P></DIV></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="class.html#section.chunks.classes"><< Prev</A></TD><TD><A href="node11.html">- Up -</A></TD><TD><A href="functor.html#section.chunks.functors">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A> and <A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|