class AidlConstantDeclaration
Defined at line 832 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
Public Methods
void AidlConstantDeclaration (const AidlLocation & location, AidlTypeSpecifier * specifier, const string & name, AidlConstantValue * value)
void ~AidlConstantDeclaration ()
Defined at line 836 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
void AidlConstantDeclaration (const AidlConstantDeclaration & )
non-copyable, non-movable
Defined at line 839 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
void AidlConstantDeclaration (AidlConstantDeclaration && )
Defined at line 840 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
bool CheckValid (const AidlTypenames & typenames)
AidlConstantDeclaration & operator= (const AidlConstantDeclaration & )
Defined at line 841 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
AidlConstantDeclaration & operator= (AidlConstantDeclaration && )
Defined at line 842 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
const AidlTypeSpecifier & GetType ()
Defined at line 844 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
AidlTypeSpecifier * GetMutableType ()
Defined at line 845 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
const string & GetName ()
Defined at line 846 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
const AidlConstantValue & GetValue ()
Defined at line 847 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
string ToString ()
ToString is for dumping AIDL.
Returns string representation of this const decl including a const value.
This is "`const` annotations type name value".
e.g) "const @utf8InCpp String[] names = { "hello" }"
string Signature ()
Signature is for comparing types.
Returns string representation of this const decl.
This is "direction annotations type name".
e.g) "String[] names"
string ValueString (const ConstantValueDecorator & decorator)
Defined at line 862 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
void TraverseChildren (std::function<void (const AidlNode &)> traverse)
Defined at line 866 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h
void DispatchVisit (AidlVisitor & v)
Defined at line 870 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h