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/manuals/refman/index.html

274 lines
12 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xml+xhtml; charset=utf-8" />
<title>Logtalk: Reference Manual</title>
<link rel="stylesheet" href="../screen.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="../print.css" type="text/css" media="print"/>
</head>
<body>
<div class="top-left">Logtalk reference manual</div>
<div class="top-right">Glossary</div>
<div class="bottom-left"><span class="page"/></div>
<div class="bottom-right"><span class="page"/></div>
<div class="navtop"><a href="../index.html">contents</a></div>
<h1>Reference Manual</h1>
<h2><a id="grammar" href="grammar.html">Grammar</a></h2>
<h3><a id="compilation_units" href="grammar.html#compilation_units">Compilation units</a></h3>
<h3><a id="object_definition" href="grammar.html#object_definition">Object definition</a></h3>
<h3><a id="category_definition" href="grammar.html#category_definition">Category definition</a></h3>
<h3><a id="protocol_definition" href="grammar.html#protocol_definition">Protocol definition</a></h3>
<h3><a id="entity_relations" href="grammar.html#entity_relations">Entity relations</a></h3>
<dl>
<dt><a id="implemented_protocols" href="grammar.html#implemented_protocols">Implemented protocols</a></dt>
<dt><a id="extended_protocols" href="grammar.html#extended_protocols">Extended protocols</a></dt>
<dt><a id="imported_categories" href="grammar.html#imported_categories">Imported categories</a></dt>
<dt><a id="extended_objects" href="grammar.html#extended_objects">Extended objects</a></dt>
<dt><a id="instantiated_objects" href="grammar.html#instantiated_objects">Instantiated objects</a></dt>
<dt><a id="specialized_objects" href="grammar.html#specialized_objects">Specialized objects</a></dt>
<dt><a id="scope" href="grammar.html#scope">Entity scope</a></dt>
</dl>
<h3><a id="entity_identifiers" href="grammar.html#entity_identifiers">Entity identifiers</a></h3>
<dl>
<dt><a id="object_identifiers" href="grammar.html#object_identifiers">Object identifiers</a></dt>
<dt><a id="category_identifiers" href="grammar.html#category_identifiers">Category identifiers</a></dt>
<dt><a id="protocol_identifiers" href="grammar.html#protocol_identifiers">Protocol identifiers</a></dt>
</dl>
<h3><a id="source_file_names" href="grammar.html#source_file_names">Source file names</a></h3>
<h3><a id="directives" href="grammar.html#directives">Directives</a></h3>
<dl>
<dt><a id="object_directives" href="grammar.html#object_directives">Object directives</a></dt>
<dt><a id="category_directives" href="grammar.html#category_directives">Category directives</a></dt>
<dt><a id="protocol_directives" href="grammar.html#protocol_directives">Protocol directives</a></dt>
<dt><a id="predicate_directives" href="grammar.html#predicate_directives">Predicate directives</a></dt>
</dl>
<h3><a id="clauses" href="grammar.html#clauses">Clauses</a></h3>
<h3><a id="entity_properties" href="grammar.html#entity_properties">Entity properties</a></h3>
<h3><a id="predicate_properties" href="grammar.html#predicate_properties">Predicate properties</a></h3>
<h2><a id="directives"></a>Directives</h2>
<h3>Source file directives</h3>
<dl>
<dt><code><a id="encoding1" href="directives/encoding1.html">encoding/1</a></code></dt>
</dl>
<h3>Entity directives</h3>
<dl>
<dt><code><a id="calls1" href="directives/calls1.html">calls/1</a></code></dt>
<dt><code><a id="category1_3" href="directives/category1_3.html">category/1-3</a></code></dt>
<dt><code><a id="dynamic0" href="directives/dynamic0.html">dynamic/0</a></code></dt>
<dt><code><a id="end_category0" href="directives/end_category0.html">end_category/0</a></code></dt>
<dt><code><a id="end_object0" href="directives/end_object0.html">end_object/0</a></code></dt>
<dt><code><a id="end_protocol0" href="directives/end_protocol0.html">end_protocol/0</a></code></dt>
<dt><code><a id="info1" href="directives/info1.html">info/1</a></code></dt>
<dt><code><a id="initialization1" href="directives/initialization1.html">initialization/1</a></code></dt>
<dt><code><a id="object1_5" href="directives/object1_5.html">object/1-5</a></code></dt>
<dt><code><a id="protocol1_2" href="directives/protocol1_2.html">protocol/1-2</a></code></dt>
<dt><code><a id="uses1" href="directives/uses1.html">uses/1</a></code></dt>
</dl>
<h3>Predicate directives</h3>
<dl>
<dt><code><a id="alias3" href="directives/alias3.html">alias/3</a></code></dt>
<dt><code><a id="discontiguous1" href="directives/discontiguous1.html">discontiguous/1</a></code></dt>
<dt><code><a id="dynamic1" href="directives/dynamic1.html">dynamic/1</a></code></dt>
<dt><code><a id="info2" href="directives/info2.html">info/2</a></code></dt>
<dt><code><a id="metapredicate1" href="directives/metapredicate1.html">metapredicate/1</a></code></dt>
<dt><code><a id="mode2" href="directives/mode2.html">mode/2</a></code></dt>
<dt><code><a id="op3" href="directives/op3.html">op/3</a></code></dt>
<dt><code><a id="private1" href="directives/private1.html">private/1</a></code></dt>
<dt><code><a id="protected1" href="directives/protected1.html">protected/1</a></code></dt>
<dt><code><a id="public1" href="directives/public1.html">public/1</a></code></dt>
<dt><code><a id="uses2" href="directives/uses2.html">uses/2</a></code></dt>
</dl>
<h2><a id="builtins"></a>Built-in predicates</h2>
<h3>Enumerating objects, categories and protocols</h3>
<dl>
<dt><code><a id="current_category1" href="builtins/current_category1.html">current_category/1</a></code></dt>
<dt><code><a id="current_object1" href="builtins/current_object1.html">current_object/1</a></code></dt>
<dt><code><a id="current_protocol1" href="builtins/current_protocol1.html">current_protocol/1</a></code></dt>
</dl>
<h3>Enumerating objects, categories and protocols properties</h3>
<dl>
<dt><code><a id="category_property2" href="builtins/category_property2.html">category_property/2</a></code></dt>
<dt><code><a id="object_property2" href="builtins/object_property2.html">object_property/2</a></code></dt>
<dt><code><a id="protocol_property2" href="builtins/protocol_property2.html">protocol_property/2</a></code></dt>
</dl>
<h3>Creating new objects, categories and protocols</h3>
<dl>
<dt><code><a id="create_category4" href="builtins/create_category4.html">create_category/4</a></code></dt>
<dt><code><a id="create_object4" href="builtins/create_object4.html">create_object/4</a></code></dt>
<dt><code><a id="create_protocol3" href="builtins/create_protocol3.html">create_protocol/3</a></code></dt>
</dl>
<h3>Abolishing objects, categories and protocols</h3>
<dl>
<dt><code><a id="abolish_category1" href="builtins/abolish_category1.html">abolish_category/1</a></code></dt>
<dt><code><a id="abolish_object1" href="builtins/abolish_object1.html">abolish_object/1</a></code></dt>
<dt><code><a id="abolish_protocol1" href="builtins/abolish_protocol1.html">abolish_protocol/1</a></code></dt>
</dl>
<h3>Objects, categories and protocols relations</h3>
<dl>
<dt><code><a id="extends_object2_3" href="builtins/extends_object2_3.html">extends_object/2-3</a></code></dt>
<dt><code><a id="extends_protocol2_3" href="builtins/extends_protocol2_3.html">extends_protocol/2-3</a></code></dt>
<dt><code><a id="implements_protocol2_3" href="builtins/implements_protocol2_3.html">implements_protocol/2-3</a></code></dt>
<dt><code><a id="imports_category2_3" href="builtins/imports_category2_3.html">imports_category/2-3</a></code></dt>
<dt><code><a id="instantiates_class2_3" href="builtins/instantiates_class2_3.html">instantiates_class/2-3</a></code></dt>
<dt><code><a id="specializes_class2_3" href="builtins/specializes_class2_3.html">specializes_class/2-3</a></code></dt>
</dl>
<h3>Event handling</h3>
<dl>
<dt><code><a id="abolish_events5" href="builtins/abolish_events5.html">abolish_events/5</a></code></dt>
<dt><code><a id="current_event5" href="builtins/current_event5.html">current_event/5</a></code></dt>
<dt><code><a id="define_events5" href="builtins/define_events5.html">define_events/5</a></code></dt>
</dl>
<h3>Compiling and loading objects, categories and protocols</h3>
<dl>
<dt><code><a id="logtalk_compile1" href="builtins/logtalk_compile1.html">logtalk_compile/1</a></code></dt>
<dt><code><a id="logtalk_compile2" href="builtins/logtalk_compile2.html">logtalk_compile/2</a></code></dt>
<dt><code><a id="logtalk_load1" href="builtins/logtalk_load1.html">logtalk_load/1</a></code></dt>
<dt><code><a id="logtalk_load2" href="builtins/logtalk_load2.html">logtalk_load/2</a></code></dt>
<dt><code><a id="logtalk_library_path2" href="builtins/logtalk_library_path2.html">logtalk_library_path/2</a></code></dt>
</dl>
<h3>Flags</h3>
<dl>
<dt><code><a id="current_logtalk_flag2" href="builtins/current_logtalk_flag2.html">current_logtalk_flag/2</a></code></dt>
<dt><code><a id="set_logtalk_flag2" href="builtins/set_logtalk_flag2.html">set_logtalk_flag/2</a></code></dt>
</dl>
<h3>Others</h3>
<dl>
<dt><code><a id="forall2" href="builtins/forall2.html">forall/2</a></code></dt>
<dt><code><a id="retractall1" href="builtins/retractall1.html">retractall/1</a></code></dt>
</dl>
<h2><a id="methods"></a>Built-in methods</h2>
<h3>Local methods</h3>
<dl>
<dt><code><a id="parameter2" href="methods/parameter2.html">parameter/2</a></code></dt>
<dt><code><a id="self1" href="methods/self1.html">self/1</a></code></dt>
<dt><code><a id="sender1" href="methods/sender1.html">sender/1</a></code></dt>
<dt><code><a id="this1" href="methods/this1.html">this/1</a></code></dt>
</dl>
<h3>Reflection methods</h3>
<dl>
<dt><code><a id="current_predicate1" href="methods/current_predicate1.html">current_predicate/1</a></code></dt>
<dt><code><a id="predicate_property2" href="methods/predicate_property2.html">predicate_property/2</a></code></dt>
</dl>
<h3>Database methods</h3>
<dl>
<dt><code><a id="abolish1" href="methods/abolish1.html">abolish/1</a></code></dt>
<dt><code><a id="asserta1" href="methods/asserta1.html">asserta/1</a></code></dt>
<dt><code><a id="assertz1" href="methods/assertz1.html">assertz/1</a></code></dt>
<dt><code><a id="clause2" href="methods/clause2.html">clause/2</a></code></dt>
<dt><code><a id="retract1" href="methods/retract1.html">retract/1</a></code></dt>
<dt><code><a id="retractall1" href="methods/retractall1.html">retractall/1</a></code></dt>
</dl>
<h3>All solutions methods</h3>
<dl>
<dt><code><a id="bagof3" href="methods/bagof3.html">bagof/3</a></code></dt>
<dt><code><a id="findall3" href="methods/findall3.html">findall/3</a></code></dt>
<dt><code><a id="forall2" href="methods/forall2.html">forall/2</a></code></dt>
<dt><code><a id="setof3" href="methods/setof3.html">setof/3</a></code></dt>
</dl>
<h3>Event handler methods</h3>
<dl>
<dt><code><a id="before3" href="methods/before3.html">before/3</a></code></dt>
<dt><code><a id="after3" href="methods/after3.html">after/3</a></code></dt>
</dl>
<h3>DCG rules parsing methods</h3>
<dl>
<dt><code><a id="phrase2" href="methods/phrase2.html">phrase/2</a></code></dt>
<dt><code><a id="phrase3" href="methods/phrase3.html">phrase/3</a></code></dt>
</dl>
<h3>Term expansion methods</h3>
<dl>
<dt><code><a id="expand_term2" href="methods/expand_term2.html">expand_term/2</a></code></dt>
<dt><code><a id="term_expansion2" href="methods/term_expansion2.html">term_expansion/2</a></code></dt>
</dl>
<h2><a id="constructs"></a>Control constructs</h2>
<h3>Message sending</h3>
<dl>
<dt><code><a id="to_object2" href="control/to_object2.html">::/2</a></code></dt>
<dt><code><a id="to_self1" href="control/to_self1.html">::/1</a></code></dt>
<dt><code><a id="to_super1" href="control/to_super1.html">^^/1</a></code></dt>
</dl>
<h3>Calling external code</h3>
<dl>
<dt><code><a id="to_object2" href="control/external1.html">{}/1</a></code></dt>
</dl>
<div class="footer">
<div class="navbottom"><a href="../glossary.html">glossary</a></div>
<div class="copyright">Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://www.logtalk.org">Logtalk.org</a></div>
<div class="footnote">
<span class="validators"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span>
<span class="date">Last updated on: January 29, 2006</span>
</div>
</div>
</body>
</html>