Lines Matching refs:decls
211 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces() argument
216 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
218 decls = std::move(inner); in NestInNamespaces()
220 return decls; in NestInNamespaces()
225 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() local
226 decls.push_back(std::move(decl)); in NestInNamespaces()
227 return NestInNamespaces(std::move(decls), package); in NestInNamespaces()
520 vector<unique_ptr<Declaration>>& decls) { in BuildConstantDefinitions() argument
532 decls.push_back(std::move(getter)); in BuildConstantDefinitions()
803 vector<unique_ptr<Declaration>> decls; in BuildServerSource() local
804 decls.push_back(std::move(constructor)); in BuildServerSource()
810 decls.emplace_back( in BuildServerSource()
814 decls.push_back(std::move(on_transact)); in BuildServerSource()
816 decls.emplace_back(new LiteralDecl("#pragma clang diagnostic pop\n")); in BuildServerSource()
824 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
831 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
840 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
843 new CppSource{include_list, NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildServerSource()
854 vector<unique_ptr<Declaration>> decls; in BuildInterfaceSource() local
860 decls.push_back(std::move(meta_if)); in BuildInterfaceSource()
863 decls); in BuildInterfaceSource()
867 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceSource()
1089 vector<unique_ptr<Declaration>> decls; in BuildInterfaceHeader() local
1090 decls.emplace_back(std::move(if_class)); in BuildInterfaceHeader()
1091 decls.emplace_back(new ClassDecl{ in BuildInterfaceHeader()
1102 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceHeader()
1299 auto decls = NestInNamespaces(std::move(parcel_class), parcel.GetSplitPackage()); in BuildParcelHeader() local
1302 decls.insert(decls.begin(), in BuildParcelHeader()
1307 new CppHeader{vector<string>(includes.begin(), includes.end()), std::move(decls)}}; in BuildParcelHeader()