The C++ API allows doing this via the [`getOpcode()` method](http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html#a497174c5cc2816aa3a3f29e12dd93165) of the `BinaryOperator` subclass of `Expr`. The lack of this feature is noted as [one of the reasons Corrode was written in Haskell using `Language.C`, rather than Rust](https://github.com/jameysharp/corrode/issues/50#issuecomment-236098060)