Searched refs:rhs_component (Results 1 – 1 of 1) sorted by relevance
123 bool IsNonterminal(StringPiece rhs_component) { in IsNonterminal() argument124 return rhs_component[0] == '<' && in IsNonterminal()125 rhs_component[rhs_component.size() - 1] == '>'; in IsNonterminal()129 void ValidateTerminal(StringPiece rhs_component) { in ValidateTerminal() argument130 TC3_CHECK_EQ(rhs_component.find('<'), std::string::npos) in ValidateTerminal()131 << "Rhs terminal `" << rhs_component << "` contains an angle bracket."; in ValidateTerminal()132 TC3_CHECK_EQ(rhs_component.find('>'), std::string::npos) in ValidateTerminal()133 << "Rhs terminal `" << rhs_component << "` contains an angle bracket."; in ValidateTerminal()134 TC3_CHECK_EQ(rhs_component.find('?'), std::string::npos) in ValidateTerminal()135 << "Rhs terminal `" << rhs_component << "` contains a question mark."; in ValidateTerminal()[all …]