Lines Matching refs:decls

205 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls,  in NestInNamespaces()  argument
210 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
212 decls = std::move(inner); in NestInNamespaces()
214 return decls; in NestInNamespaces()
219 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() local
220 decls.push_back(std::move(decl)); in NestInNamespaces()
221 return NestInNamespaces(std::move(decls), package); in NestInNamespaces()
751 vector<unique_ptr<Declaration>> decls; in BuildServerSource() local
752 decls.push_back(std::move(constructor)); in BuildServerSource()
753 decls.push_back(std::move(on_transact)); in BuildServerSource()
760 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
767 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
777 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
780 new CppSource{include_list, NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildServerSource()
796 vector<unique_ptr<Declaration>> decls; in BuildInterfaceSource() local
801 decls.push_back(std::move(meta_if)); in BuildInterfaceSource()
815 decls.push_back(std::move(getter)); in BuildInterfaceSource()
820 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceSource()
1058 vector<unique_ptr<Declaration>> decls; in BuildInterfaceHeader() local
1059 decls.emplace_back(std::move(if_class)); in BuildInterfaceHeader()
1060 decls.emplace_back(new ClassDecl{ in BuildInterfaceHeader()
1066 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceHeader()