chiark / gitweb /
src/method-impl.lisp, etc.: Add a `readonly' message property.
[sod] / doc / syntax.tex
index dd6a5f515b996743095427f7cd1e923aa22c2a3b..72329a44199b863b7b0d02f1509ce0caf40c587e 100644 (file)
@@ -903,6 +903,9 @@ Properties:
 \begin{description}
 \item[@|message_class|] A symbol naming the Lisp class to use to represent
   the message.
+\item[@|readonly|] A boolean indicating whether the message guarantees not to
+  modify its receiver.  If this is true, the receiver will be declared
+  @"const".
 \item[@|combination|] A keyword naming the aggregating method combination to
   use.
 \item[@|most_specific|] A keyword, either @`first' or @`last', according to