Class Sort
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.Sort
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
boolean
Check 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 secondline
is the integral line number, andmodule
is
the module type and name where this item was originally defined.Get the subsorts of this sort.Get the supersorts of this sort.long
hash()
Get the hash value of the sort.kind()
Get the kind this sort belongs to.boolean
Check if this sort is a subsort of the given sort.
toString()
Methods inherited from class es.ucm.maude.bindings.ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
delete
in 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 secondline
is the integral line number, andmodule
is
the module type and name where this item was originally defined. The
filename
may 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.
-