Searched refs:IsNonterminalOfName (Results 1 – 2 of 2) sorted by relevance
193 bool Rules::IsNonterminalOfName(const RhsElement& element, in IsNonterminalOfName() function in libtextclassifier3::grammar::Rules253 if (IsNonterminalOfName(rhs.front(), kStartNonterm) && in ResolveAnchors()254 IsNonterminalOfName(rhs[1], kFiller)) { in ResolveAnchors()258 if (IsNonterminalOfName(rhs.back(), kEndNonterm) && in ResolveAnchors()259 IsNonterminalOfName(rhs[rhs.size() - 2], kFiller)) { in ResolveAnchors()270 if (i == rhs.size() - 1 || IsNonterminalOfName(rhs[i], kFiller) || in ResolveFillers()271 rhs[i].is_optional || !IsNonterminalOfName(rhs[i + 1], kFiller)) { in ResolveFillers()420 if (IsNonterminalOfName(rhs_element, kFiller)) { in UsesFillers()
214 bool IsNonterminalOfName(const RhsElement& element,