end_class/[0,1]
declaration:- end_class.
:- end_class
+ClassName.
A class definition continues until the next
end_class/[0,1]
directive, the next class/1
directive, or the
end of the file, whichever comes first.
It is not possible to nest one class definition within another.
All clauses that look like method definitions (that is, which have
one of <-/2
, <</2
or >>/2
as the principal functors of
their heads) are considered to be method definitions for the class.
The argument to end_class/1
, if specified,
must match the class name of the preceding class/1
directive.
class/1