Lines Matching refs:decls
180 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces() argument
185 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
187 decls = std::move(inner); in NestInNamespaces()
189 return decls; in NestInNamespaces()
194 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() local
195 decls.push_back(std::move(decl)); in NestInNamespaces()
196 return NestInNamespaces(std::move(decls), package); in NestInNamespaces()
699 vector<unique_ptr<Declaration>> decls; in BuildServerSource() local
700 decls.push_back(std::move(on_transact)); in BuildServerSource()
707 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
717 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
720 new CppSource{include_list, NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildServerSource()
735 vector<unique_ptr<Declaration>> decls; in BuildInterfaceSource() local
741 decls.push_back(std::move(meta_if)); in BuildInterfaceSource()
756 decls.push_back(std::move(getter)); in BuildInterfaceSource()
763 decls.emplace_back( in BuildInterfaceSource()
780 decls.emplace_back(new LiteralDecl(code.str())); in BuildInterfaceSource()
787 decls.emplace_back(new LiteralDecl(code.str())); in BuildInterfaceSource()
794 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceSource()
977 vector<unique_ptr<Declaration>> decls; in BuildInterfaceHeader() local
978 decls.emplace_back(std::move(if_class)); in BuildInterfaceHeader()
990 decls.emplace_back(new LiteralDecl( in BuildInterfaceHeader()
1002 NestInNamespaces(std::move(decls), interface.GetSplitPackage())}}; in BuildInterfaceHeader()