Searched refs:nspace (Results 1 – 12 of 12) sorted by relevance
78 AutoPtr<ASTNamespace> nspace; in ParseNamespace() local80 nspace = FindNamespace(ns); in ParseNamespace()82 nspace = currNspace->FindNamespace(ns); in ParseNamespace()84 if (nspace == nullptr) { in ParseNamespace()85 nspace = new ASTNamespace(ns); in ParseNamespace()87 AddNamespace(nspace); in ParseNamespace()89 currNspace->AddNamespace(nspace); in ParseNamespace()92 currNspace = nspace; in ParseNamespace()98 void AST::AddNamespace(const AutoPtr<ASTNamespace> &nspace) in AddNamespace() argument100 if (nspace == nullptr) { in AddNamespace()[all …]
91 const ASTNamespace *nspace = this; in ToString() local92 while (nspace != nullptr) { in ToString()93 nspaceStr = nspace->name_ + "." + nspaceStr; in ToString()94 nspace = nspace->outerNamespace_; in ToString()
14 void ASTSequenceableType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument16 ASTType::SetNamespace(nspace); in SetNamespace()
20 void SetNamespace(const AutoPtr<ASTNamespace> &nspace) override;
102 void AddNamespace(const AutoPtr<ASTNamespace> &nspace);
23 void ASTType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument25 namespace_ = nspace; in SetNamespace()
37 void SetNamespace(const AutoPtr<ASTNamespace> &nspace) override;
14 void ASTInterfaceType::SetNamespace(const AutoPtr<ASTNamespace> &nspace) in SetNamespace() argument16 ASTType::SetNamespace(nspace); in SetNamespace()
80 virtual void SetNamespace(const AutoPtr<ASTNamespace> &nspace);
165 for (const auto &nspace : cppNamespaceVec) { in EmitBeginNamespace() local166 sb.AppendFormat("namespace %s {\n", nspace.c_str()); in EmitBeginNamespace()222 for (const auto &nspace : namespaceSet) { in EmitImportUsingNamespace() local223 sb.Append("using namespace ").AppendFormat("%s;\n", nspace.c_str()); in EmitImportUsingNamespace()284 for (const auto &nspace : cppNamespaceVec) { in EmitDefinitionByInterface() local285 sb.AppendFormat("%s", nspace.c_str()); in EmitDefinitionByInterface()
89 std::string nspace = EmitPackageToNameSpace(interface_->GetNamespace()->ToString()); in EmitDriverUsings() local90 sb.AppendFormat("using namespace %s;\n", nspace.c_str()); in EmitDriverUsings()
363 for (const auto &nspace : cppNamespaceVec) { in EmitBeginNamespace() local364 sb.AppendFormat("namespace %s {\n", nspace.c_str()); in EmitBeginNamespace()