From: <bi...@us...> - 2013-11-24 21:00:19
|
Revision: 9561 http://sourceforge.net/p/oorexx/code-0/9561 Author: bigrixx Date: 2013-11-24 21:00:17 +0000 (Sun, 24 Nov 2013) Log Message: ----------- [feature-requests:#466] Allow ABSTRACT on ::ATTRIBUTE directives. Modified Paths: -------------- docs/trunk/rexxref/en-US/dire.xml Modified: docs/trunk/rexxref/en-US/dire.xml =================================================================== --- docs/trunk/rexxref/en-US/dire.xml 2013-11-24 20:34:13 UTC (rev 9560) +++ docs/trunk/rexxref/en-US/dire.xml 2013-11-24 21:00:17 UTC (rev 9561) @@ -65,6 +65,8 @@ <secondary>creation</secondary></indexterm> <indexterm><primary>GET subkeyword</primary> <secondary>in an ATTRIBUTE directive</secondary></indexterm> +<indexterm><primary>ABSTRACT subkeyword</primary> +<secondary>in an ATTRIBUTE directive</secondary></indexterm> <indexterm><primary>SET subkeyword</primary> <secondary>in an ATTRIBUTE directive</secondary></indexterm> <indexterm><primary>CLASS subkeyword</primary> @@ -87,8 +89,8 @@ <programlisting> <![CDATA[ ->>-::ATTRIBUTE--name--+-----+-------+-------+-------------------------> - +-GET-+ +-CLASS-+ +>>-::ATTRIBUTE--name--+-----+-------+-------+---+----------+----------> + +-GET-+ +-CLASS-+ +-ABSTRACT-+ +-SET-+ +-PUBLIC--+ +-GUARDED---+ +-UNPROTECTED-+ @@ -164,6 +166,11 @@ associated with the class specified on the most recent ::CLASS directive. The ::ATTRIBUTE must be preceded by a ::CLASS directive if CLASS is specified.</para> +<para>If ABSTRACT is specified, then all created methods will be marked as ABSTRACT and will +raise an error if directly invoked. +For ABSTRACT methods there is no method code body following the directive, +so another directive (or the end of the program) must follow the +::ATTRIBUTE directive.</para> <para>If the EXTERNAL option is specified, then <emphasis role="italic">spec</emphasis> identifies a method in an external native library that will be invoked as the named method. The |