Class Equation
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.Equation
A Maude equation.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanCheck whether two equation are the same.Get the condition of the equation.getLabel()Get the label attribute.getLhs()Get the left-hand-side 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 right-hand-side term.booleanWhether the equation has a condition.longhash()Get the hash value of the equation.booleanWhether the equation has thenonexecattribute.booleanisOwise()Whether the equation has theowiseattribute.booleanWhether the equation has thevariantattribute.toString()Methods inherited from class ModuleItem
getModule
-
Method Details
-
delete
public void delete()- Overrides:
deletein classModuleItem
-
getLhs
Get the left-hand-side term. -
getRhs
Get the right-hand-side term. -
getLabel
Get the label attribute. -
isNonexec
public boolean isNonexec()Whether the equation has thenonexecattribute. -
isOwise
public boolean isOwise()Whether the equation has theowiseattribute. -
isVariant
public boolean isVariant()Whether the equation has thevariantattribute. -
hasCondition
public boolean hasCondition()Whether the equation has a condition. -
getCondition
Get the condition of the equation. -
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 equation. -
equal
Check whether two equation are the same.
-