Interpreter rewrite rule
More...
Interpreter rewrite rule
Definition at line 145 of file RewriteRule.cs.
Creates s new RewriteRule. To be a valid rule, the following conditions must hold:
- LHS is a valid structure
- RHS is a valid action call
- each variable in the LHS must be declared at most once
- each variable in the RHS must be declared in the LHS
- arguments of action calls match required types
- Parameters
-
- Exceptions
-
| System.ArgumentNullException | When LHS or RHS is null |
Definition at line 162 of file RewriteRule.cs.
| override bool Mercury.Interpreting.RewriteRule< T >.Equals |
( |
object |
obj | ) |
|
| bool Mercury.Interpreting.RewriteRule< T >.Equals |
( |
RewriteRule< T > |
other | ) |
|
| override int Mercury.Interpreting.RewriteRule< T >.GetHashCode |
( |
| ) |
|
| override string Mercury.Interpreting.RewriteRule< T >.ToString |
( |
| ) |
|
| IElement Mercury.Interpreting.RewriteRule< T >.Head |
|
getset |
| Structure Mercury.Interpreting.RewriteRule< T >.LHS |
|
getset |
| ActionCall<T> Mercury.Interpreting.RewriteRule< T >.RHS |
|
getset |
| IReadOnlyList<Variable> Mercury.Interpreting.RewriteRule< T >.Variables |
|
getset |
The documentation for this class was generated from the following file: