Class StrategyDefinition
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.StrategyDefinition
A Maude strategy definition.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanequal(StrategyDefinition other) Check whether two strategy definition are the same.Get the condition of the strategy definition.getLabel()Get the label attribute.getLhs()Get the left-hand side of the strategy definition as a term.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.getRhs()Get the strategy definition.Get the named strategy being defined.booleanWhether the strategy definition has a condition.longhash()Get the hash value of the strategy definition.booleanWhether the strategy definition has thenonexecattribute.toString()Methods inherited from class ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
deletein classModuleItem
-
getLhs
Get the left-hand side of the strategy definition as a term. -
getRhs
Get the strategy definition. -
getStrategy
Get the named strategy being defined. -
isNonexec
public boolean isNonexec()Whether the strategy definition has thenonexecattribute. -
hasCondition
public boolean hasCondition()Whether the strategy definition has a condition. -
getCondition
Get the condition of the strategy definition. -
getLabel
Get the label attribute. -
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 definition. -
equal
Check whether two strategy definition are the same.
-