public static bool ShouldReplace(Identifier orig, Expression cand) { return(cand is IdentifierReference ident && ident.TableIndices.Count == 0 && ident.Identifier == orig); }
public virtual bool ReplaceUses(Identifier orig, Expression sub) { return(false); }
public virtual void RenameUses(Identifier orig, Identifier newi) { }