Replace infix, postfix and prefix function expressions with unique AST objects