BaseTerm represents a subset of terms: constant, variables or ApplyFn. Every BaseTerm will implement Term.
| 136 | // BaseTerm represents a subset of terms: constant, variables or ApplyFn. |
| 137 | // Every BaseTerm will implement Term. |
| 138 | type BaseTerm interface { |
| 139 | Term |
| 140 | |
| 141 | // Marker method. |
| 142 | isBaseTerm() |
| 143 | |
| 144 | Hash() uint64 |
| 145 | |
| 146 | // Returns a new base term. |
| 147 | ApplySubstBase(s Subst) BaseTerm |
| 148 | } |
| 149 | |
| 150 | // Subst is the interface for substitutions. |
| 151 | // This interface provides mapping from a variable to BaseTerm. |
no outgoing calls
no test coverage detected