Home
last modified time | relevance | path

Searched refs:GetComments (Results 1 – 11 of 11) sorted by relevance

/system/tools/aidl/
Daidl_language_y.yy196 ps->GetDocument()->PrependComments((*i)->GetComments());
199 ps->GetDocument()->PrependComments($1->GetComments());
242 $$ = new AidlToken($2->GetText(), $1->GetComments());
335 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), *$4, $3);
342 …$$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5…
388 … $$ = new AidlInterface(loc(@1), $2->GetText(), $1->GetComments(), false, ps->Package(), nullptr);
394 $$ = new AidlInterface(loc(@1), $2->GetText(), $1->GetComments(), false, ps->Package(), $4);
400 $$ = new AidlInterface(loc(@2), $3->GetText(), $1->GetComments(), true, ps->Package(), $5);
575 $3->PrependComments($2->GetComments());
587 $$ = new AidlEnumerator(loc(@1), $1->GetText(), $3, $1->GetComments());
[all …]
Daidl_dumpapi.cpp92 const auto deprecated = FindDeprecated(c.GetComments()); in DumpComments()
282 DumpComments(*writer, doc.GetComments()); in dump_api()
Dparser.h45 const android::aidl::Comments& GetComments() const { return comments_; } in GetComments() function
Dpreprocess.cpp64 const auto deprecated = FindDeprecated(c.GetComments()); in DumpComments()
Dparser.cpp38 nullptr, field->GetComments())); in Visit()
Daidl_language.cpp897 : AidlMember(location, type->GetComments()), in AidlVariableDeclaration()
1053 return android::aidl::HasHideInComments(GetComments()); in IsHidden()
1057 return android::aidl::FindDeprecated(GetComments()).has_value(); in IsDeprecated()
1066 : AidlMember(location, type->GetComments()), type_(type), name_(name), value_(value) {} in AidlConstantDeclaration()
Daidl_language.h162 const Comments& GetComments() const { return comments_; }
353 PrependComments((*i)->GetComments());
Daidl_unittest.cpp791 EXPECT_EQ((Comments{{"/* foo */"}}), parse_result->GetComments()); in TEST_P()
794 EXPECT_EQ((Comments{{"/* i */"}}), interface->GetMethods()[0]->GetComments()); in TEST_P()
795 EXPECT_EQ((Comments{{"// j\n"}}), interface->GetMethods()[1]->GetComments()); in TEST_P()
796 EXPECT_EQ((Comments{{"// k1\n"}, {"/* k2 */"}}), interface->GetMethods()[2]->GetComments()); in TEST_P()
816 EXPECT_EQ((Comments{{"// get bar\n"}}), interface->GetMethods()[0]->GetComments()); in TEST_P()
Daidl_to_cpp_common.cpp491 if (auto deprecated = FindDeprecated(type.GetComments()); deprecated.has_value()) { in GetDeprecatedAttribute()
Dgenerate_java.cpp300 return FormatCommentsForJava(node.GetComments()); in GenerateComments()
Dgenerate_rust.cpp574 if (auto deprecated = FindDeprecated(type.GetComments()); deprecated.has_value()) { in GenerateDeprecated()