PrologDSL
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Returns a term which is a Conjunction of goals if more than one term is provided. otherwise it returns the provided term.
Returns a term which is a Conjunction of goals if more than one term is provided. otherwise it returns the provided term.
Value parameters
- terms
-
the terms to put in conjunction.
Attributes
Returns an Atom.
Returns an Atom.
Value parameters
- value
-
the value of the atom.
Attributes
Returns a PrologList.
Returns a PrologList.
Value parameters
- tail
-
the tail of the list.
- term
-
the head of the list.
Attributes
Returns a PrologList, simulating the pipe notation ([a, b, c | X])
Returns a PrologList, simulating the pipe notation ([a, b, c | X])
Value parameters
- tail
-
the tail of the list
- terms
-
the terms that would be before the pipe.
Attributes
Returns a Directive
Returns a Directive
Value parameters
- terms
-
the arguments of the directive.
Attributes
Returns a Fact.
Returns a Fact.
Value parameters
- fact
-
the struct representing the fact.
Attributes
Returns a sequence of terms
Returns a sequence of terms
Attributes
Returns a PrologList holding the provided terms.
Returns a PrologList holding the provided terms.
Value parameters
- terms
-
the terms to put in the list.
Attributes
An empty PrologList
An empty PrologList
Attributes
Returns a Constant.Numeric.
Returns a Constant.Numeric.
Value parameters
- value
-
the value of the numeric constant.
Attributes
Returns a Rule.
Returns a Rule.
Value parameters
- body1
-
the first term of the rule's body.
- head
-
the head of the rule.
- others
-
the other terms of the rule's body.
Attributes
Returns a Struct.
Returns a Struct.
Value parameters
- arguments
-
the arguments of the struct.
- functor
-
the functor of the struct.
Attributes
Returns a Theory of the provided clauses.
Returns a Theory of the provided clauses.
Value parameters
- clauses
-
the clauses to include in the theory.
Attributes
Returns a Variable.
Returns a Variable.
Value parameters
- name
-
the name of the variable.
Attributes
Returns a term which is a Disjunction of goals if more than one term is provided. otherwise it returns the provided term.
Returns a term which is a Disjunction of goals if more than one term is provided. otherwise it returns the provided term.
Value parameters
- terms
-
the terms to put in disjunction.
Attributes
Inherited methods
Builds a +(X) Struct.
Builds a +(X) Struct.
Value parameters
- goal
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a Directive
Returns a Directive
Value parameters
- terms
-
the arguments of the directive.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a var(X) Struct.
Builds a var(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an append(l1, l2) Struct.
Returns an append(l1, l2) Struct.
Value parameters
- l1
-
a term that should unify to a list
- l2
-
a term that should unify to a list.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an arg(N, T, L) Struct.
Returns an arg(N, T, L) Struct.
Value parameters
- arg
-
a term that should unify the with number-th argument in term.
- number
-
a term that should unify with the position of the arg in term.
- term
-
a term
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an asserta(X) Struct.
Returns an asserta(X) Struct.
Value parameters
- clause
-
the clause to assert.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an assertz(X) Struct.
Returns an assertz(X) Struct.
Value parameters
- clause
-
the clause to assert.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a atom(X) Struct.
Builds a atom(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an atom_chars(A, L) Struct.
Returns an atom_chars(A, L) Struct.
Value parameters
- atom
-
a term that should unify to an atom.
- list
-
a term that should unify to a list containing the characters of atom.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds an atomic(X) Struct.
Builds an atomic(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a goal(G) Struct.
Builds a goal(G) Struct.
Value parameters
- goal
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a dynamic(t1, t2, ...) Struct.
Returns a dynamic(t1, t2, ...) Struct.
Value parameters
- indicators
-
the indicators of the predicates.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a findall(T, G, L) Struct.
Returns a findall(T, G, L) Struct.
Value parameters
- list
-
a term that should unify to a list containing ???
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a functor(T, F, N) Struct.
Returns a functor(T, F, N) Struct.
Value parameters
- arity
-
a term that should unify with the arity of the term.
- functor
-
a term that should unify with the of the term functor.
- term
-
a term.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a ground(X) Struct.
Builds a ground(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a length(T, L) Struct.
Returns a length(T, L) Struct.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns a member(t, l) Struct.
Returns a member(t, l) Struct.
Value parameters
- l
-
a term that should unify to a list.
- term
-
a term
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a nonvar(X) Struct.
Builds a nonvar(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a not(G) Struct.
Builds a not(G) Struct.
Value parameters
- goal
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a number(X) Struct.
Builds a number(X) Struct.
Value parameters
- term
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an number_chars(A, L) Struct.
Returns an number_chars(A, L) Struct.
Value parameters
- atom
-
a term that should unify to an numeric constant
- list
-
a term that should unify with a list containing the characters composing the constant.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Builds a once(G) Struct.
Builds a once(G) Struct.
Value parameters
- goal
-
the argument of the structure
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Returns an op(I, A, N) Struct.
Returns an op(I, A, N) Struct.
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Inherited fields
The cut predicate
The cut predicate
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
An empty list functor
An empty list functor
Attributes
- Inherited from:
- DSLPrologBuiltins (hidden)
Givens
Inherited givens
Attributes
- Inherited from:
- DSLConversions (hidden)
Attributes
- Inherited from:
- DSLConversions (hidden)
Attributes
- Inherited from:
- DSLConversions (hidden)
Attributes
- Inherited from:
- DSLConversions (hidden)
Attributes
- Inherited from:
- DSLConversions (hidden)
Extensions
Extensions
Simulates the list pipe notation.
Simulates the list pipe notation.
Attributes
Inherited extensions
Returns this term in Conjunction with another term
Returns this term in Conjunction with another term
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "*(term, other)" Struct
Returns a "*(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "+(term, other)" Struct
Returns a "+(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "-(term, other)" Struct
Returns a "-(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "/(term, other)" Struct
Returns a "/(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "//(term, other)" Struct
Returns a "//(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "<(term, other)" Struct
Returns a "<(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "=..(term, other)" Struct
Returns a "=..(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "=:=(term, other)" Struct
Returns a "=:=(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "=<(term, other)" Struct
Returns a "=<(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "==(term, other)" Struct
Returns a "==(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a ">(term, other)" Struct
Returns a ">(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a ">=(term, other)" Struct
Returns a ">=(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "@<(term, other)" Struct
Returns a "@<(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "@=<(term, other)" Struct
Returns a "@=<(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "@>(term, other)" Struct
Returns a "@>(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "@>=(term, other)" Struct
Returns a "@>=(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "=(term, other)" Struct
Returns a "=(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns this term in Conjunction with another term
Returns this term in Conjunction with another term
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "is(term, other)" Struct
Returns a "is(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "mod(term, other)" Struct
Returns a "mod(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns this term in Conjunction with another term
Returns this term in Conjunction with another term
Attributes
- Inherited from:
- DSLExtensions (hidden)
Returns a "==(term, other)" Struct
Returns a "==(term, other)" Struct
Value parameters
- other
-
the other term to put as second argument.
Attributes
- Inherited from:
- DSLExtensions (hidden)