uk.ac.man.cs.rainbow.rapa.data
Class GeneralSubstitution
java.lang.Object
|
+--uk.ac.man.cs.rainbow.rapa.data.GeneralSubstitution
- public class GeneralSubstitution
- extends Object
A list of substitutions of one argument
for
another.
- See Also:
Call
terminator
public static final GeneralSubstitution terminator
GeneralSubstitution
public GeneralSubstitution(Argument from,
Argument to,
GeneralSubstitution next)
GeneralSubstitution
public GeneralSubstitution(Map map,
GeneralSubstitution next)
GeneralSubstitution
public GeneralSubstitution(Argument from,
Argument to)
GeneralSubstitution
public GeneralSubstitution(Map map)
apply
public Argument apply(Argument arg)
- Apply this substitution to the given argument.
lookup
public Argument lookup(Argument arg)
- Find if this substitution contains the given argument.
toString
public String toString()
- Overrides:
toString
in class Object