Enforcing expression precedence check at AST level.