class AidlEnumerator

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

Public Methods

void AidlEnumerator (const AidlLocation & location, const std::string & name, AidlConstantValue * value, const Comments & comments)
void ~AidlEnumerator ()

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

void AidlEnumerator (const AidlEnumerator & )

non-copyable, non-movable

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

void AidlEnumerator (AidlEnumerator && )

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

bool CheckValid (const AidlTypeSpecifier & enum_backing_type)
AidlEnumerator & operator= (const AidlEnumerator & )

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

AidlEnumerator & operator= (AidlEnumerator && )

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

const std::string & GetName ()

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

AidlConstantValue * GetValue ()

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

void SetValue (std::unique_ptr<AidlConstantValue> value)

TODO: Set is errorprone. What if it was set before?

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

bool IsValueUserSpecified ()

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

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

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

void DispatchVisit (AidlVisitor & v)

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

string ValueString (const AidlTypeSpecifier & backing_type, const ConstantValueDecorator & decorator)