Lines Matching refs:result
207 auto result = action(child_results);
208 if (!result) return result;
209 return ParseResult{std::vector<T>{(*result).Cast<T>()}};
314 Item result(rule_, mark_ + 1, start_, new_pos);
315 result.prev_ = this;
316 result.child_ = child;
317 return result;
387 // it. These symbols form the result of the lexing.
415 // A grammar can have a result, which is the results of the start symbol.
438 Symbol* result = symbol.get();
440 return result;
453 // result.
460 // At most one of the symbols can return a result.
480 To result = std::move(child_results->NextAs<From>());
481 return ParseResult{std::move(result)};
484 // Try to parse {s} and return the result of type {Result} casted to {T}.
485 // Otherwise, the result is a default-constructed {T}.
496 std::vector<T> result;
497 result.push_back(std::move(x));
498 return ParseResult{std::move(result)};