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 Source
Name Value
INTERNAL 0
EXTERNAL 1
DERIVED_INTERNAL 2

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)