Lines Matching refs:AutoPtr
64 using StrASTMap = std::unordered_map<std::string, AutoPtr<AST>>;
65 using TypeStringMap = std::unordered_map<std::string, AutoPtr<ASTType>>;
110 AutoPtr<ASTNamespace> ParseNamespace(const std::string &nspaceStr);
112 void AddNamespace(const AutoPtr<ASTNamespace> &nspace);
114 AutoPtr<ASTNamespace> FindNamespace(const std::string &nspaceStr);
116 AutoPtr<ASTNamespace> GetNamespace(size_t index);
118 inline std::vector<AutoPtr<ASTNamespace>> GetNamespace() in GetNamespace()
128 void AddInterfaceDef(const AutoPtr<ASTInterfaceType> &interface);
130 AutoPtr<ASTInterfaceType> GetInterfaceDef(size_t index = 0);
137 void AddSequenceableDef(const AutoPtr<ASTSequenceableType> &sequenceable);
139 AutoPtr<ASTSequenceableType> GetSequenceableDef(size_t index = 0);
152 void AddType(const AutoPtr<ASTType> &type);
154 AutoPtr<ASTType> FindType(const std::string &typeName, bool lookImports = true);
166 void AddTypeDefinition(const AutoPtr<ASTType> &type);
173 AutoPtr<ASTType> GetTypeDefintion(size_t index);
177 bool AddImport(const AutoPtr<AST> &importAst);
212 std::vector<AutoPtr<ASTInterfaceType>> GetInterfaceDefs() const in GetInterfaceDefs()
252 AutoPtr<ASTNamespace> NewNameSpace(std::string nameSpace);
260 std::vector<AutoPtr<ASTNamespace>> namespaces_;
261 std::vector<AutoPtr<ASTType>> typeDefinitions_; // enum, struct, union
262 std::vector<AutoPtr<ASTSequenceableType>> sequenceableDefs_;
263 std::vector<AutoPtr<ASTInterfaceType>> interfaceDefs_;