Lines Matching refs:Declaration
158 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, const AidlTypenames& typenames, in BuildMethodDecl()
168 return unique_ptr<Declaration>{ in BuildMethodDecl()
173 unique_ptr<Declaration> BuildMetaMethodDecl(const AidlMethod& method, const AidlTypenames&, in BuildMetaMethodDecl()
187 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
200 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
205 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces()
209 vector<unique_ptr<Declaration>> inner; in NestInNamespaces()
210 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
217 std::vector<unique_ptr<Declaration>> NestInNamespaces(unique_ptr<Declaration> decl, in NestInNamespaces()
219 vector<unique_ptr<Declaration>> decls; in NestInNamespaces()
251 unique_ptr<Declaration> DefineClientTransaction(const AidlTypenames& typenames, in DefineClientTransaction()
414 return unique_ptr<Declaration>(ret.release()); in DefineClientTransaction()
417 unique_ptr<Declaration> DefineClientMetaTransaction(const AidlTypenames& /* typenames */, in DefineClientMetaTransaction()
447 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
471 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
490 vector<unique_ptr<Declaration>> file_decls; in BuildClientSource()
495 file_decls.push_back(unique_ptr<Declaration>{new ConstructorImpl{ in BuildClientSource()
508 file_decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildClientSource()
513 unique_ptr<Declaration> m; in BuildClientSource()
751 vector<unique_ptr<Declaration>> decls; in BuildServerSource()
777 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
796 vector<unique_ptr<Declaration>> decls; in BuildInterfaceSource()
842 vector<unique_ptr<Declaration>> publics; in BuildClientHeader()
862 vector<unique_ptr<Declaration>> privates; in BuildClientHeader()
892 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
903 vector<unique_ptr<Declaration>> publics; in BuildServerHeader()
951 if_class->AddPublic(unique_ptr<Declaration>{new MacroDecl{ in BuildInterfaceHeader()
959 if_class->AddPublic(unique_ptr<Declaration>(new LiteralDecl(code.str()))); in BuildInterfaceHeader()
965 if_class->AddPublic(unique_ptr<Declaration>(new LiteralDecl(code.str()))); in BuildInterfaceHeader()
968 std::vector<std::unique_ptr<Declaration>> string_constants; in BuildInterfaceHeader()
976 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
1020 vector<unique_ptr<Declaration>> method_decls; in BuildInterfaceHeader()
1058 vector<unique_ptr<Declaration>> decls; in BuildInterfaceHeader()
1193 vector<unique_ptr<Declaration>> file_decls; in BuildParcelSource()
1248 std::vector<std::unique_ptr<Declaration>> decls1; in BuildEnumHeader()
1252 std::vector<std::unique_ptr<Declaration>> decls2; in BuildEnumHeader()