Class StrategyDefinition
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.StrategyDefinition
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
boolean
equal
(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 secondline
is the integral line number, andmodule
is
the module type and name where this item was originally defined.Get the free textmetadata
attribute of this statement.getRhs()
Get the strategy definition.Get the named strategy being defined.boolean
Whether the strategy definition has a condition.long
hash()
Get the hash value of the strategy definition.boolean
Whether the strategy definition has thenonexec
attribute.toString()
Methods inherited from class es.ucm.maude.bindings.ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
delete
in 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 thenonexec
attribute. -
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 textmetadata
attribute 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 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 strategy definition. -
equal
Check whether two strategy definition are the same.
-