Searched refs:SubPattern (Results 1 – 4 of 4) sorted by relevance
90 class SubPattern: class123 if isinstance(a, SubPattern):143 return SubPattern(self.pattern, self.data[index])337 subpattern = SubPattern(state)386 subpattern = SubPattern(state)397 subpattern = SubPattern(state)
315 p.append(sre_parse.SubPattern(s, [319 p = sre_parse.SubPattern(s, [(BRANCH, (None, p))])
46 SubPattern_t SubPattern; member48 OneUse_match(const SubPattern_t &SP) : SubPattern(SP) {} in OneUse_match()51 return V->hasOneUse() && SubPattern.match(V); in match()55 template <typename T> inline OneUse_match<T> m_OneUse(const T &SubPattern) { in m_OneUse() argument56 return SubPattern; in m_OneUse()680 SubPattern_t SubPattern; member682 Exact_match(const SubPattern_t &SP) : SubPattern(SP) {} in Exact_match()686 return PEO->isExact() && SubPattern.match(V); in match()691 template <typename T> inline Exact_match<T> m_Exact(const T &SubPattern) { in m_Exact() argument692 return SubPattern; in m_Exact()
46 SubPattern_t SubPattern; member48 OneUse_match(const SubPattern_t &SP) : SubPattern(SP) {} in OneUse_match()52 return V->hasOneUse() && SubPattern.match(V); in match()57 inline OneUse_match<T> m_OneUse(const T &SubPattern) { return SubPattern; } in m_OneUse() argument