Class RewriteStrategy
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.RewriteStrategy
A named rewriting strategy.
-
Method Summary
Modifier and TypeMethodDescriptionintarity()Get the number of arguments of the strategy.voiddelete()booleanequal(RewriteStrategy other) Check whether two strategy are the same.Get the definitions for this strategy.Get the argument domain.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 free textmetadataattribute of this statement.getName()Get the sort to which the strategy is intended to be applied.longhash()Get the hash value of the strategy.toString()Methods inherited from class ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
deletein classModuleItem
-
getDomain
Get the argument domain. -
getSubjectSort
Get the sort to which the strategy is intended to be applied. -
getDefinitions
Get the definitions for this strategy. -
arity
public int arity()Get the number of arguments of the strategy. -
getName
-
toString
-
getMetadata
Get the free textmetadataattribute of this statement. -
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 strategy. -
equal
Check whether two strategy are the same.
-