Home
last modified time | relevance | path

Searched refs:AidlAnnotation (Results 1 – 4 of 4) sorted by relevance

/system/tools/aidl/
Daidl_language.h137 class AidlAnnotation : public AidlNode {
139 static AidlAnnotation* Parse(const AidlLocation& location, const string& name);
141 AidlAnnotation(const AidlAnnotation&) = default;
142 AidlAnnotation(AidlAnnotation&&) = default;
143 virtual ~AidlAnnotation() = default;
151 AidlAnnotation(const AidlLocation& location, const string& name);
156 static inline bool operator<(const AidlAnnotation& lhs, const AidlAnnotation& rhs) {
159 static inline bool operator==(const AidlAnnotation& lhs, const AidlAnnotation& rhs) {
171 void Annotate(vector<AidlAnnotation>&& annotations) { annotations_ = std::move(annotations); } in Annotate()
179 const vector<AidlAnnotation>& GetAnnotations() const { return annotations_; } in GetAnnotations()
[all …]
Daidl_language_y.yy49 AidlAnnotation* annotation;
50 std::vector<AidlAnnotation>* annotation_list;
396 { $$ = new std::vector<AidlAnnotation>(); }
408 $$ = AidlAnnotation::Parse(loc(@1), $1->GetText());
Daidl_language.cpp86 AidlAnnotation* AidlAnnotation::Parse(const AidlLocation& location, const string& name) { in Parse()
98 return new AidlAnnotation(location, name); in Parse()
101 AidlAnnotation::AidlAnnotation(const AidlLocation& location, const string& name) in AidlAnnotation() function in AidlAnnotation
104 static bool HasAnnotation(const vector<AidlAnnotation>& annotations, const string& name) { in HasAnnotation()
Daidl_apicheck.cpp36 set<AidlAnnotation> olderAnnotations(older.GetAnnotations().begin(), in have_compatible_annotations()
38 set<AidlAnnotation> newerAnnotations(newer.GetAnnotations().begin(), in have_compatible_annotations()