Uses of Interface
jason.asSyntax.ListTerm
Package | Description |
---|---|
jason | |
jason.asSyntax | |
jason.stdlib |
Internal actions of Jason.
|
-
Uses of ListTerm in jason
Fields in jason declared as ListTerm Modifier and Type Field Description private ListTerm
JasonException. errorAnnots
Methods in jason that return ListTerm Modifier and Type Method Description static ListTerm
JasonException. createBasicErrorAnnots(Term id, java.lang.String msg)
static ListTerm
JasonException. createBasicErrorAnnots(java.lang.String id, java.lang.String msg)
ListTerm
JasonException. getErrorTerms()
-
Uses of ListTerm in jason.asSyntax
Classes in jason.asSyntax that implement ListTerm Modifier and Type Class Description class
ListTermImpl
Represents a list node as in prolog .(t1,.(t2,.(t3,.))).class
UnnamedVar
Represents an unnamed variable '_'.class
VarTerm
Represents a variable Term: like X (starts with upper case).Fields in jason.asSyntax declared as ListTerm Modifier and Type Field Description private ListTerm
Pred. annots
(package private) ListTerm
ListTermImpl.ListTermIterator. current
static ListTerm
ListTerm. EMPTY_LIST
(package private) ListTerm
ListTermImpl.ListTermIterator. nextLT
Methods in jason.asSyntax that return ListTerm Modifier and Type Method Description ListTerm
ListTerm. append(Term t)
ListTerm
ListTermImpl. append(Term t)
Adds a term in the end of the listListTerm
VarTerm. append(Term t)
ListTerm
ListTermImpl. capply(Unifier u)
make a hard copy of the termsListTerm
Pred. capplyAnnots(Unifier u)
ListTerm
ListTermImpl. clone()
make a hard copy of the termsListTerm
ListTerm. cloneLT()
clone the list termListTerm
ListTermImpl. cloneLT()
make a hard copy of the termsListTerm
VarTerm. cloneLT()
ListTerm
ListTerm. cloneLTShallow()
make a shallow copy of the list (terms are not cloned, only the structure)ListTerm
ListTermImpl. cloneLTShallow()
make a shallow copy of the list (terms are not cloned, only the structure)ListTerm
VarTerm. cloneLTShallow()
ListTerm
ListTerm. concat(ListTerm lt)
ListTerm
ListTermImpl. concat(ListTerm lt)
Adds a list in the end of this list.ListTerm
VarTerm. concat(ListTerm lt)
static ListTerm
ASSyntax. createList(Term... terms)
Creates a new list with n elements, n can be 0static ListTerm
ASSyntax. createList(java.util.Collection<Term> terms)
Creates a new list from a collection of terms (each element of the collection is cloned)ListTerm
ListTerm. difference(ListTerm lt)
ListTerm
ListTermImpl. difference(ListTerm lt)
returns a new (cloned) list representing the set resulting of the difference of this list and lt.ListTerm
VarTerm. difference(ListTerm lt)
ListTerm
Literal. getAnnots()
returns all annotations of the literalListTerm
Literal. getAnnots(java.lang.String functor)
returns all annots with the specified functor e.g.: from annots [t(a), t(b), source(tom)] and functor "t", it returns [t(a),t(b)] in case that there is no such an annot, it returns an empty list.ListTerm
Pred. getAnnots()
ListTerm
Pred. getAnnots(java.lang.String functor)
ListTerm
Literal. getAsListOfTerms()
returns this literal as a list with three elements: [namespace, functor, list of terms, list of annots]ListTerm
Plan. getAsListOfTerms()
ListTerm
SetTerm. getAsListTerm()
ListTerm
SetTermImpl. getAsListTerm()
ListTerm
ListTerm. getLast()
ListTerm
ListTermImpl. getLast()
get the last ListTerm of this ListListTerm
VarTerm. getLast()
ListTerm
ListTerm. getNext()
ListTerm
ListTermImpl. getNext()
ListTerm
VarTerm. getNext()
ListTerm
ListTerm. getPenultimate()
ListTerm
ListTermImpl. getPenultimate()
ListTerm
VarTerm. getPenultimate()
ListTerm
Literal. getSources()
returns the sources of this literal as a new list.ListTerm
Pred. getSources()
ListTerm
ListTerm. insert(Term t)
ListTerm
ListTermImpl. insert(Term t)
insert a term in the begin of this listListTerm
VarTerm. insert(Term t)
ListTerm
ListTerm. intersection(ListTerm lt)
ListTerm
ListTermImpl. intersection(ListTerm lt)
returns a new (cloned) list representing the set resulting of the intersection of this list and lt.ListTerm
VarTerm. intersection(ListTerm lt)
static ListTerm
ASSyntax. parseList(java.lang.String sList)
creates a new list by parsing a stringstatic ListTerm
ListTermImpl. parseList(java.lang.String sList)
ListTerm
ListTerm. reverse()
ListTerm
ListTermImpl. reverse()
Creates a new (cloned) list with the same elements of this list, but in the reversed order.ListTerm
VarTerm. reverse()
private ListTerm
ListTermImpl. reverse_internal(ListTerm r)
private ListTerm
ListTermImpl. setToList(java.util.Set<Term> set)
ListTerm
ListTerm. union(ListTerm lt)
ListTerm
ListTermImpl. union(ListTerm lt)
returns a new (cloned) list representing the set resulting of the union of this list and lt.ListTerm
VarTerm. union(ListTerm lt)
Methods in jason.asSyntax that return types with arguments of type ListTerm Modifier and Type Method Description java.util.Iterator<ListTerm>
ListTerm. listTermIterator()
java.util.Iterator<ListTerm>
ListTermImpl. listTermIterator()
gives an iterator that includes the final empty list or tail, for [a,b,c] returns [a,b,c]; [b,c]; [c]; and [].java.util.Iterator<ListTerm>
VarTerm. listTermIterator()
Methods in jason.asSyntax with parameters of type ListTerm Modifier and Type Method Description ListTerm
ListTerm. concat(ListTerm lt)
ListTerm
ListTermImpl. concat(ListTerm lt)
Adds a list in the end of this list.ListTerm
VarTerm. concat(ListTerm lt)
ListTerm
ListTerm. difference(ListTerm lt)
ListTerm
ListTermImpl. difference(ListTerm lt)
returns a new (cloned) list representing the set resulting of the difference of this list and lt.ListTerm
VarTerm. difference(ListTerm lt)
ListTerm
ListTerm. intersection(ListTerm lt)
ListTerm
ListTermImpl. intersection(ListTerm lt)
returns a new (cloned) list representing the set resulting of the intersection of this list and lt.ListTerm
VarTerm. intersection(ListTerm lt)
static Literal
Literal. newFromListOfTerms(ListTerm lt)
creates a literal from a list with four elements: [namespace, functor, list of terms, list of annots] (namespace is optional)static Plan
Plan. newFromListOfTerms(ListTerm lt)
creates a plan from a list with four elements: [L, T, C, B]private ListTerm
ListTermImpl. reverse_internal(ListTerm r)
Literal
Literal. setAnnots(ListTerm l)
Literal
Pred. setAnnots(ListTerm l)
protected void
ListTermImpl. setValuesFrom(ListTerm lt)
ListTerm
ListTerm. union(ListTerm lt)
ListTerm
ListTermImpl. union(ListTerm lt)
returns a new (cloned) list representing the set resulting of the union of this list and lt.ListTerm
VarTerm. union(ListTerm lt)
Constructors in jason.asSyntax with parameters of type ListTerm Constructor Description ListTermIterator(ListTerm lt)
-
Uses of ListTerm in jason.stdlib
Methods in jason.stdlib that return ListTerm Modifier and Type Method Description (package private) ListTerm
delete. deleteFromList(int index, int end, ListTerm l)
(package private) ListTerm
delete. deleteFromList(Term element, ListTerm l, Unifier un)
private ListTerm
setof. setToList(java.util.Set<Term> set)
Methods in jason.stdlib with parameters of type ListTerm Modifier and Type Method Description (package private) ListTerm
delete. deleteFromList(int index, int end, ListTerm l)
(package private) ListTerm
delete. deleteFromList(Term element, ListTerm l, Unifier un)