This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/wenv/jedit/templates/class.vm
pmoura 2572851ad5 Logtalk 2.15.1 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@791 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-03-08 10:01:36 +00:00

32 lines
720 B
Plaintext

## template = class
#buffermode ( "logtalk" )
#prompt ( "Class name:" $classname )
#prompt ( "Metaclasses (comma separated):" $metaclasses )
#prompt ( "Superclasses (comma separated):" $superclasses )
#if ( !$metaclasses )
:- object($classname,
specializes($superclasses)).
#elseif ( !$superclasses )
:- object($classname,
instantiates($metaclasses)).
#else
:- object($classname,
instantiates($metaclasses),
specializes($superclasses)).
#end
#prompt ( "Version:" $version "1.0" )
#prompt ( "Author name:" $authorname )
#prompt ( "Comment:" $comment )
#today ( $date "yyyy/MM/dd" )
:- info([
version is $version,
author is '$authorname',
date is $date,
comment is '$comment']).
#caret ()
:- end_object.