Class Sort
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.Sort
A Maude sort.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanCheck whether two sort are the same.Get the line number information for this item as formatted by Maude.
The format of the string is usuallyfilename, line line (module)
where the secondlineis the integral line number, andmoduleis
the module type and name where this item was originally defined.Get the subsorts of this sort.Get the supersorts of this sort.longhash()Get the hash value of the sort.kind()Get the kind this sort belongs to.booleanCheck if this sort is a subsort of the given sort.
toString()Methods inherited from class ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
deletein classModuleItem
-
kind
Get the kind this sort belongs to. -
getSubsorts
Get the subsorts of this sort. -
getSupersorts
Get the supersorts of this sort. -
leq
Check if this sort is a subsort of the given sort.
- Parameters:
rhs- The right-hand side of the comparison.
-
toString
-
getLineNumber
Get the line number information for this item as formatted by Maude.
The format of the string is usuallyfilename, line line (module)
where the secondlineis the integral line number, andmoduleis
the module type and name where this item was originally defined. The
filenamemay be an actual quoted filename or some special name
between angle brackets. -
hash
public long hash()Get the hash value of the sort. -
equal
Check whether two sort are the same.
-