LibraryGroup

interface LibraryGroup<L : Library> : Library

Represents a group of Library objects

Functions

Link copied to clipboard
open operator fun contains(operator: <ERROR CLASS>): Boolean

Checks whether this library contains the definition of provided operator

open operator fun contains(signature: Signature): Boolean

Checks whether this library contains the provided signature.

Link copied to clipboard
open fun hasPrimitive(signature: Signature): Boolean

Checks whether this library has a Primitive with provided signature

Link copied to clipboard
open fun hasProtected(signature: Signature): Boolean

Checks whether the provided signature, is protected in this library

Link copied to clipboard
abstract operator fun minus(library: L): LibraryGroup<L>

Removes the library from this library group

Link copied to clipboard
abstract operator fun plus(library: L): LibraryGroup<L>

Adds a library to this library group

abstract operator fun plus(libraryGroup: LibraryGroup<L>): LibraryGroup<L>

Adds all libraries in provided libraryGroup to this libraryGroup

Link copied to clipboard
abstract fun update(library: L): LibraryGroup<L>

Updates an already contained library, with given library

Properties

Link copied to clipboard
abstract val functions: Map<Signature, LogicFunction>

The library prolog functions, identified by their signature

Link copied to clipboard
abstract val libraries: Collection<L>

All libraries composing this library group

Link copied to clipboard
abstract val operators: <ERROR CLASS>

Library defined operators

Link copied to clipboard
abstract val primitives: Map<Signature, Primitive>

The library primitives, identified by their signatures

Link copied to clipboard
abstract val theory: <ERROR CLASS>

The library theory clauses

Inheritors

Link copied to clipboard