Searched refs:GetComments (Results 1 – 11 of 11) sorted by relevance
/system/tools/aidl/ |
D | aidl_language_y.yy | 196 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 …]
|
D | aidl_dumpapi.cpp | 92 const auto deprecated = FindDeprecated(c.GetComments()); in DumpComments() 282 DumpComments(*writer, doc.GetComments()); in dump_api()
|
D | parser.h | 45 const android::aidl::Comments& GetComments() const { return comments_; } in GetComments() function
|
D | preprocess.cpp | 64 const auto deprecated = FindDeprecated(c.GetComments()); in DumpComments()
|
D | parser.cpp | 38 nullptr, field->GetComments())); in Visit()
|
D | aidl_language.cpp | 897 : 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()
|
D | aidl_language.h | 162 const Comments& GetComments() const { return comments_; } 353 PrependComments((*i)->GetComments());
|
D | aidl_unittest.cpp | 791 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()
|
D | aidl_to_cpp_common.cpp | 491 if (auto deprecated = FindDeprecated(type.GetComments()); deprecated.has_value()) { in GetDeprecatedAttribute()
|
D | generate_java.cpp | 300 return FormatCommentsForJava(node.GetComments()); in GenerateComments()
|
D | generate_rust.cpp | 574 if (auto deprecated = FindDeprecated(type.GetComments()); deprecated.has_value()) { in GenerateDeprecated()
|