Home
last modified time | relevance | path

Searched refs:TryOrDefault (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/torque/
Dtorque-parser.cc954 TryOrDefault<TypeList>(Sequence({Token("("), typeList, Token(")")}))},
962 Symbol* optionalLabelList{TryOrDefault<LabelAndTypesVector>(
967 Symbol* optionalOtherwise{TryOrDefault<std::vector<std::string>>(
1021 {&identifier, TryOrDefault<TypeList>(&genericSpecializationTypeList)},
1034 Rule({&identifier, TryOrDefault<TypeList>(&genericSpecializationTypeList),
1127 TryOrDefault<ParameterList>(&parameterListNoVararg), &block},
1161 TryOrDefault<std::vector<Expression*>>(&argumentList), Token(";")},
1233 TryOrDefault<GenericParameters>(&genericParameters),
1238 &identifier, TryOrDefault<GenericParameters>(&genericParameters),
1247 TryOrDefault<GenericParameters>(&genericParameters),
[all …]
Dearley-parser.h410 Symbol* TryOrDefault(Symbol* s) { in TryOrDefault() function
448 return TryOrDefault<std::vector<T>>(NonemptyList<T>(element, separator));
453 return TryOrDefault<base::Optional<T>, T>(x); in Optional()