class AidlLocation

Defined at line 23 of file ../../third_party/android/platform/system/tools/aidl/location.h

Public Methods

void AidlLocation (const std::string & file, Point begin, Point end, Source source)
void AidlLocation (const std::string & file, Source source)

Defined at line 42 of file ../../third_party/android/platform/system/tools/aidl/location.h

bool IsInternal ()

Defined at line 45 of file ../../third_party/android/platform/system/tools/aidl/location.h

bool IsDerived ()

Defined at line 46 of file ../../third_party/android/platform/system/tools/aidl/location.h

bool LocationKnown ()

The first line of a file is line 1.

Defined at line 49 of file ../../third_party/android/platform/system/tools/aidl/location.h

std::string GetFile ()

Defined at line 51 of file ../../third_party/android/platform/system/tools/aidl/location.h

std::optional<AidlLocation> ToDerivedLocation ()

Get an AidlLocation derived from this external location.

nullopt if this location is not EXTERNAL

Enumerations

enum class Source
Name Value Comments
INTERNAL 0

From internal aidl source code

EXTERNAL 1

From a parsed file

DERIVED_INTERNAL 2

Derived from a parsed file. These are used for types generated by
the compiler that we still want to track mostly like EXTERNAL types.
An example is the Tag enum that is generated for each EXTERNAL union.

Defined at line 30 of file ../../third_party/android/platform/system/tools/aidl/location.h

Records

Friends

class AidlNode
std::ostream & AidlLocation (std::ostream & osconst AidlLocation & l)