Argument[] pair = Like.equalPairLike(identity);
if (pair==null) { // c
return null;
}
// The identity is of the form "pair[0] = pair[1]".
Argument pattern = pair[0];
Argument expansion = pair[1];
// In practice, an indentity may appear using different letters
// and even numbers. Find the cypher to map from 'pattern' to
// 'target' and apply the cypher to 'expansion'.
IdentityHashMap<Token, Token> cypher = pattern.cypherEquals(target);
if (cypher==null) {
return null;
}
for (Token t : cypher.keySet()) {
}
Argument result = Like.substitute(expansion, convertToArgumentMap(cypher));
return result;
}