Lines Matching refs:Declaration
143 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, in BuildMethodDecl()
154 return unique_ptr<Declaration>{ in BuildMethodDecl()
161 unique_ptr<Declaration> BuildMetaMethodDecl(const AidlMethod& method, const TypeNamespace&, in BuildMetaMethodDecl()
175 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
180 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces()
184 vector<unique_ptr<Declaration>> inner; in NestInNamespaces()
185 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
192 std::vector<unique_ptr<Declaration>> NestInNamespaces(unique_ptr<Declaration> decl, in NestInNamespaces()
194 vector<unique_ptr<Declaration>> decls; in NestInNamespaces()
228 unique_ptr<Declaration> DefineClientTransaction(const TypeNamespace& types, in DefineClientTransaction()
394 return unique_ptr<Declaration>(ret.release()); in DefineClientTransaction()
397 unique_ptr<Declaration> DefineClientMetaTransaction(const TypeNamespace&, in DefineClientMetaTransaction()
427 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
446 vector<unique_ptr<Declaration>> file_decls; in BuildClientSource()
451 file_decls.push_back(unique_ptr<Declaration>{new ConstructorImpl{ in BuildClientSource()
464 file_decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildClientSource()
469 unique_ptr<Declaration> m; in BuildClientSource()
699 vector<unique_ptr<Declaration>> decls; in BuildServerSource()
717 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
735 vector<unique_ptr<Declaration>> decls; in BuildInterfaceSource()
816 vector<unique_ptr<Declaration>> publics; in BuildClientHeader()
836 vector<unique_ptr<Declaration>> privates; in BuildClientHeader()
859 unique_ptr<Declaration> on_transact{new MethodDecl{ in BuildServerHeader()
870 vector<unique_ptr<Declaration>> publics; in BuildServerHeader()
916 if_class->AddPublic(unique_ptr<Declaration>{new MacroDecl{ in BuildInterfaceHeader()
924 if_class->AddPublic(unique_ptr<Declaration>(new LiteralDecl(code.str()))); in BuildInterfaceHeader()
927 std::vector<std::unique_ptr<Declaration>> string_constants; in BuildInterfaceHeader()
935 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
977 vector<unique_ptr<Declaration>> decls; in BuildInterfaceHeader()
1102 vector<unique_ptr<Declaration>> file_decls; in BuildParcelSource()