Lines Matching refs:rootNode
144 auto *rootNode = allocator.Allocate(); in buildPredicateTree() local
145 new (rootNode) PredNode; in buildPredicateTree()
146 rootNode->kind = getPredCombinerKind(root); in buildPredicateTree()
147 rootNode->predicate = &root; in buildPredicateTree()
149 rootNode->expr = root.getCondition(); in buildPredicateTree()
152 auto pos = rootNode->expr.find(std::string(subst.first)); in buildPredicateTree()
154 rootNode->expr.replace(pos, subst.first.size(), in buildPredicateTree()
160 pos = rootNode->expr.find(std::string(subst.first), pos); in buildPredicateTree()
163 return rootNode; in buildPredicateTree()
169 if (rootNode->kind == PredCombinerKind::SubstLeaves) { in buildPredicateTree()
175 else if (rootNode->kind == PredCombinerKind::Concat) { in buildPredicateTree()
177 rootNode->prefix = std::string(concatPred.getPrefix()); in buildPredicateTree()
178 rootNode->suffix = std::string(concatPred.getSuffix()); in buildPredicateTree()
186 rootNode->children.push_back(childTree); in buildPredicateTree()
188 return rootNode; in buildPredicateTree()