Searched refs:GetNonterminalForName (Results 1 – 4 of 4) sorted by relevance
403 output->nonterminals->start_nt = GetNonterminalForName(kStartNonterm); in Serialize()404 output->nonterminals->end_nt = GetNonterminalForName(kEndNonterm); in Serialize()405 output->nonterminals->wordbreak_nt = GetNonterminalForName(kWordBreakNonterm); in Serialize()406 output->nonterminals->token_nt = GetNonterminalForName(kTokenNonterm); in Serialize()408 GetNonterminalForName(kUppercaseTokenNonterm); in Serialize()409 output->nonterminals->digits_nt = GetNonterminalForName(kDigitsNonterm); in Serialize()412 GetNonterminalForName(strings::StringPrintf(kNDigitsNonterm, i))) { in Serialize()
450 if (rules.GetNonterminalForName(nonterminal.name) != kUnassignedNonterm) { in Finalize()489 const Nonterm filler = rules.GetNonterminalForName(kFiller); in Finalize()491 rules.DefineNonterminal(rules.GetNonterminalForName(kTokenNonterm)); in Finalize()
134 Nonterm GetNonterminalForName(const std::string& name) const { in GetNonterminalForName() function
613 ir.GetNonterminalForName("<phone_annotation>"); in TEST_F()