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/tests/protocol.lgt
pmoura 0df93ffc6e Logtalk 2.15.6 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@970 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-09 14:18:27 +00:00

51 lines
800 B
Plaintext

% this is a single-line comment
/*
this is
a block
comment
*/
:- protocol(extended,
extends(minimal)).
:- info([
version is 1.0,
author is 'Paulo Moura',
date is 2003/12/18,
comment is 'Sample protocol for testing syntax coloring.']).
:- dynamic.
:- public(aaa/2).
:- mode(aaa(?integer, ?integer), zero_or_one).
:- info(position/2, [
comment is 'Predicate brief description.',
argnames is ['Arg1', 'Arg2']]).
:- protected(bbb/2).
:- mode(bbb(+integer, -float), one).
:- info(bbb/2, [
comment is 'Predicate brief description.',
argnames is ['Arg1', 'Arg2']]).
:- private(ccc/2).
:- dynamic(ccc/2).
:- mode(ccc(@atom, ?atom), one_or_more).
:- info(ccc/2, [
comment is 'Predicate brief description.',
argnames is ['Arg1', 'Arg2']]).
:- end_protocol.