Lines Matching refs:ParseResult
68 class ParseResult {
71 explicit ParseResult(T x) : value_(new ParseResultHolder<T>(std::move(x))) {} in ParseResult() function
99 explicit ParseResultIterator(std::vector<ParseResult> results, in ParseResultIterator()
107 ParseResult Next() { in Next()
120 std::vector<ParseResult> results_;
133 base::Optional<ParseResult> (*)(ParseResultIterator* child_results);
135 inline base::Optional<ParseResult> DefaultAction( in DefaultAction()
160 V8_EXPORT_PRIVATE base::Optional<ParseResult> RunAction(
192 V8_EXPORT_PRIVATE base::Optional<ParseResult> RunAction(
288 inline base::Optional<ParseResult> Symbol::RunAction( in RunAction()
299 inline base::Optional<ParseResult> ParseTokens(Symbol* start, in ParseTokens()
348 base::Optional<ParseResult> Parse(const std::string& input) { in Parse()
377 static base::Optional<ParseResult> YieldMatchedInput( in YieldMatchedInput()
379 return ParseResult{child_results->matched_input().ToString()}; in YieldMatchedInput()
389 static base::Optional<ParseResult> YieldIntegralConstant( in YieldIntegralConstant()
391 return ParseResult{value}; in YieldIntegralConstant()
395 static base::Optional<ParseResult> YieldDefaultValue( in YieldDefaultValue()
397 return ParseResult{T{}}; in YieldDefaultValue()
401 static base::Optional<ParseResult> CastParseResult( in CastParseResult()
404 return ParseResult{std::move(result)}; in CastParseResult()
416 static base::Optional<ParseResult> MakeSingletonVector( in MakeSingletonVector()
421 return ParseResult{std::move(result)}; in MakeSingletonVector()
425 static base::Optional<ParseResult> MakeExtendedVector( in MakeExtendedVector()
430 return ParseResult{std::move(l)}; in MakeExtendedVector()