public final class NullSort extends Object implements Sort
| Modifier and Type | Field and Description |
|---|---|
private WeakReference<ImmutableSet<Sort>> |
extCache |
private WeakReference<Services> |
lastServices |
static Name |
NAME |
private Sort |
objectSort |
ANY, CAST_NAME, EXACT_INSTANCE_NAME, FORMULA, INSTANCE_NAME, TERMLABEL, UPDATE| Modifier and Type | Method and Description |
|---|---|
String |
declarationString() |
ImmutableSet<Sort> |
extendsSorts()
Returns the direct supersorts of this sort.
|
ImmutableSet<Sort> |
extendsSorts(Services services)
Returns the direct supersorts of this sort.
|
boolean |
extendsTrans(Sort sort)
Tells whether the given sort is a reflexive, transitive subsort of this
sort.
|
SortDependingFunction |
getCastSymbol(TermServices services)
returns the cast symbol of this Sort
|
SortDependingFunction |
getExactInstanceofSymbol(TermServices services)
returns the exactinstanceof symbol of this Sort
|
SortDependingFunction |
getInstanceofSymbol(TermServices services)
returns the instanceof symbol of this Sort
|
boolean |
isAbstract()
Tells whether this sort has no exact elements.
|
Name |
name()
returns the name of this element
|
String |
toString() |
public static final Name NAME
private final Sort objectSort
private WeakReference<Services> lastServices
private WeakReference<ImmutableSet<Sort>> extCache
public NullSort(Sort objectSort)
public ImmutableSet<Sort> extendsSorts()
SortextendsSorts in interface Sortpublic ImmutableSet<Sort> extendsSorts(Services services)
SortextendsSorts in interface Sortpublic boolean extendsTrans(Sort sort)
SortextendsTrans in interface Sortpublic boolean isAbstract()
SortisAbstract in interface Sortpublic final SortDependingFunction getCastSymbol(TermServices services)
SortgetCastSymbol in interface Sortpublic final SortDependingFunction getInstanceofSymbol(TermServices services)
SortgetInstanceofSymbol in interface Sortpublic final SortDependingFunction getExactInstanceofSymbol(TermServices services)
SortgetExactInstanceofSymbol in interface Sortpublic String declarationString()
declarationString in interface Sort