Home | History | Annotate | Download | only in fst

Lines Matching refs:rest_

140   void Clear() { first_ = 0; rest_.clear(); }
142 size_t Size() const { return first_ ? rest_.size() + 1 : 0; }
146 rest_.push_front(first_);
154 rest_.push_back(l);
159 list<L> rest_; // remaining labels in string
168 : first_(w.first_), rest_(w.rest_), init_(true),
169 iter_(rest_.begin()) {}
173 else return iter_ == rest_.end();
185 iter_ = rest_.begin();
190 const list<L> &rest_;
203 : first_(w.first_), rest_(w.rest_), fin_(first_ == 0),
204 iter_(rest_.rbegin()) {}
208 const L& Value() const { return iter_ == rest_.rend() ? first_ : *iter_; }
211 if (iter_ == rest_.rend()) fin_ = true;
217 iter_ = rest_.rbegin();
222 const list<L> &rest_;