Class Rule
java.lang.Object
es.ucm.maude.bindings.ModuleItem
es.ucm.maude.bindings.Rule
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
boolean
Check whether two rule are the same.Get the condition of the rule.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 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 right-hand-side term.boolean
Whether the rule has a condition.long
hash()
Get the hash value of the rule.boolean
Whether the rule has thenarrowing
attribute.boolean
Whether the rule 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 term. -
getRhs
Get the right-hand-side term. -
getLabel
Get the label attribute. -
isNarrowing
public boolean isNarrowing()Whether the rule has thenarrowing
attribute. -
isNonexec
public boolean isNonexec()Whether the rule has thenonexec
attribute. -
hasCondition
public boolean hasCondition()Whether the rule has a condition. -
getCondition
Get the condition of the rule. -
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 rule. -
equal
Check whether two rule are the same.
-