Lines Matching defs:start
278 // range from {start} to {pos} that matches the symbols of the right-hand side
283 Item(const Rule* rule, size_t mark, size_t start, size_t pos)
284 : rule_(rule), mark_(mark), start_(start), pos_(pos) {
310 DCHECK_EQ(pos(), child->start());
328 const MatchedInput& start = tokens.token_contents[start_];
331 CHECK_EQ(start.pos.source, end.pos.source);
332 SourcePosition combined{start.pos.source, start.pos.start, end.pos.end};
334 return {start.begin, end.end, combined};
352 size_t start() const { return start_; }
372 Symbol* start, const LexerResult& tokens,
375 inline base::Optional<ParseResult> ParseTokens(Symbol* start,
378 const Item* final_item = RunEarleyAlgorithm(start, tokens, &table);
379 return start->RunAction(final_item, tokens);
415 // A grammar can have a result, which is the results of the start symbol.
422 explicit Grammar(Symbol* start) : start_(start) {}