• Home
  • Raw
  • Download

Lines Matching refs:matcher_

194       : matcher_(fst, match_type) {}  in TrivialLookAheadMatcher()
198 : matcher_(lmatcher.matcher_, safe) {}
205 MatchType Type(bool test) const { return matcher_.Type(test); } in Type()
206 void SetState(StateId s) { return matcher_.SetState(s); } in SetState()
207 bool Find(Label label) { return matcher_.Find(label); } in Find()
208 bool Done() const { return matcher_.Done(); } in Done()
209 const Arc& Value() const { return matcher_.Value(); } in Value()
210 void Next() { matcher_.Next(); } in Next()
211 virtual const FST &GetFst() const { return matcher_.GetFst(); } in GetFst()
212 uint64 Properties(uint64 props) const { return matcher_.Properties(props); } in Properties()
214 return matcher_.Flags() | kInputLookAheadMatcher | kOutputLookAheadMatcher; in Flags()
243 M matcher_; variable
267 : matcher_(fst, match_type), in matcher_() function
268 fst_(matcher_.GetFst()), in matcher_()
274 : matcher_(lmatcher.matcher_, safe),
275 fst_(matcher_.GetFst()),
284 MatchType Type(bool test) const { return matcher_.Type(test); } in Type()
288 matcher_.SetState(s); in SetState()
291 bool Find(Label label) { return matcher_.Find(label); } in Find()
292 bool Done() const { return matcher_.Done(); } in Done()
293 const Arc& Value() const { return matcher_.Value(); } in Value()
294 void Next() { matcher_.Next(); } in Next()
296 uint64 Properties(uint64 props) const { return matcher_.Properties(props); } in Properties()
298 return matcher_.Flags() | kInputLookAheadMatcher | in Flags()
306 bool LookAheadLabel(Label label) const { return matcher_.Find(label); } in LookAheadLabel()
331 mutable M matcher_; variable
358 if (matcher_.Find(kNoLabel)) { in LookAheadFst()
363 for (; !matcher_.Done(); matcher_.Next()) in LookAheadFst()
364 SetLookAheadWeight(Plus(LookAheadWeight(), matcher_.Value().weight)); in LookAheadFst()
372 switch (matcher_.Type(false)) { in LookAheadFst()
391 } else if (matcher_.Find(label)) { in LookAheadFst()
394 for (; !matcher_.Done(); matcher_.Next()) { in LookAheadFst()
399 matcher_.Value().weight))); in LookAheadFst()
440 : matcher_(fst, match_type), in matcher_() function
462 : matcher_(lmatcher.matcher_, safe),
479 MatchType Type(bool test) const { return matcher_.Type(test); } in Type()
491 matcher_.SetState(s_); in Find()
494 return matcher_.Find(label); in Find()
497 bool Done() const { return matcher_.Done(); } in Done()
498 const Arc& Value() const { return matcher_.Value(); } in Value()
499 void Next() { matcher_.Next(); } in Next()
500 const FST &GetFst() const { return matcher_.GetFst(); } in GetFst()
503 uint64 outprops = matcher_.Properties(inprops); in Properties()
511 return matcher_.Flags() | F | kInputLookAheadMatcher; in Flags()
513 return matcher_.Flags() | F | kOutputLookAheadMatcher; in Flags()
515 return matcher_.Flags(); in Flags()
572 mutable M matcher_; variable