Lines Matching refs:Factory
44 typedef ImutAVLFactory<ImutInfo> Factory;
221 Factory *factory;
237 // Internal methods (node manipulation; used by Factory).
243 ImutAVLTree(Factory *f, ImutAVLTree* l, ImutAVLTree* r, value_type_ref v,
360 // Immutable AVL-Tree Factory class.
954 /// should use a Factory object to create sets instead of directly
975 class Factory {
976 typename TreeTy::Factory F;
980 Factory(bool canonicalize = true)
983 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true)
1017 typename TreeTy::Factory *getTreeFactory() const {
1018 return const_cast<typename TreeTy::Factory *>(&F);
1022 Factory(const Factory& RHS) LLVM_DELETED_FUNCTION;
1023 void operator=(const Factory& RHS) LLVM_DELETED_FUNCTION;
1026 friend class Factory;
1124 typedef typename TreeTy::Factory FactoryTy;
1128 FactoryTy *Factory;
1132 /// should use a Factory object to create sets instead of directly
1137 Factory(F) {
1142 Factory(X.Factory) {
1150 Factory = X.Factory;
1163 return ImmutableSetRef(Factory->add(Root, V), Factory);
1167 return ImmutableSetRef(Factory->remove(Root, V), Factory);
1177 Factory->getCanonicalTree(Root) : Root);