Lines Matching defs:item
89 for (const Item* item : Children()) {
90 if (!item) continue;
92 s << item->GetMatchedInput(tokens).ToString();
216 const Item& item = *insert_result.first;
217 DCHECK_EQ(pos, item.pos());
221 if (!is_new) item.CheckAmbiguity(worklist.back(), tokens);
225 debug_trace.push_back(&item);
226 if (item.IsComplete()) {
229 for (const Item* parent : waiting[{item.start(), item.left()}]) {
230 worklist.push_back(parent->Advance(pos, &item));
233 Symbol* next = item.NextSymbol();
238 future_items.push_back(item.Advance(pos + 1, nullptr));
242 // Remember that this item is waiting for completion with {next}.
243 waiting[{pos, next}].insert(&item);
253 // When we complete an item that started at the current position
258 worklist.push_back(item.Advance(pos, &*already_completed));