class AidlBinaryConstExpression

Defined at line 796 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

Public Methods

void AidlBinaryConstExpression (const AidlLocation & location, std::unique_ptr<AidlConstantValue> lval, const string & op, std::unique_ptr<AidlConstantValue> rval)
bool CheckValid ()
bool AreCompatibleOperandTypes (Type t1, Type t2)
bool AreCompatibleArrayTypes (Type t1, Type t2)
Type UsualArithmeticConversion (Type left, Type right)

Returns the promoted kind for both operands

Type IntegralPromotion (Type in)

Returns the promoted integral type where INT32 is the smallest type

void TraverseChildren (std::function<void (const AidlNode &)> traverse)

Defined at line 810 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void DispatchVisit (AidlVisitor & v)

Defined at line 814 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::unique_ptr<AidlConstantValue> & Left ()

Defined at line 815 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::unique_ptr<AidlConstantValue> & Right ()

Defined at line 816 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::string & Op ()

Defined at line 817 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h