class AidlConstantReference

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

Represents "<type>.<field>" which resolves to a constant which is one of

- constant declaration

- enumerator

When a

<type

> is missing,

<field

> is of the enclosing type.

Public Methods

void AidlConstantReference (const AidlLocation & location, const std::string & value)
bool CheckValid ()
const std::unique_ptr<AidlTypeSpecifier> & GetRefType ()

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

const std::string & GetFieldName ()

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

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

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

void DispatchVisit (AidlVisitor & v)

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

const AidlConstantValue * Resolve (const AidlDefinedType * scope)