JESS: [EXTERNAL] Docstrings in from-class deftemplates

Henrique Lopes Cardoso <[email protected]> Tue, 26 Nov 2013 17:07:30 +0000
Newsgroups gmane.comp.java.jess
Message-ID <CALLS5+B5WgbQRivakogPKugyvutQTKqHogOrsLHAzgDZUiXLAg@mail.gmail.com>
--001a11c2529e1168a904ec1784e0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Is there a limitation on the use of documentation strings on deftemplates
using the from-class declaration?
I have something like:

(deftemplate Foo extends Bar
    "Documentation string for Foo"
    (declare (from-class Foo)) )

Whe accessing the docstring as per Deftemplate.getDocstring(), I am getting
something like "$JAVA-OBJECT$ Foo", instead of the documentation string
proper.

Am I missing something?

Thanks.

Henrique

--001a11c2529e1168a904ec1784e0
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>Is there a limitation on=
 the use of documentation strings on deftemplates using the from-class decl=
aration?</div><div>I have something like:</div><div><br></div><div><div>(de=
ftemplate Foo extends Bar</div>
<div>=A0 =A0 &quot;Documentation string for Foo&quot;</div><div>=A0 =A0 (de=
clare (from-class Foo)) )</div></div><div><br></div><div>Whe accessing the =
docstring as per=A0Deftemplate.getDocstring(), I am getting something like =
&quot;$JAVA-OBJECT$ Foo&quot;, instead of the documentation string proper.<=
/div>
<div><br></div><div>Am I missing something?</div><div><br></div><div>Thanks=
.</div><div><br></div><div>Henrique</div><div><br></div>
</div>

--001a11c2529e1168a904ec1784e0--
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------