Home
last modified time | relevance | path

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

/external/v8/src/torque/
Dtorque-parser.cc65 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<std::string>::id =
68 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<bool>::id =
72 ParseResultHolder<std::vector<std::string>>::id =
75 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<Declaration*>::id =
79 ParseResultHolder<TypeExpression*>::id =
82 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<LabelBlock*>::id =
85 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<Expression*>::id =
89 ParseResultHolder<LocationExpression*>::id =
92 V8_EXPORT_PRIVATE const ParseResultTypeId ParseResultHolder<Statement*>::id =
96 ParseResultHolder<NameAndTypeExpression>::id =
[all …]
Dearley-parser.h45 class ParseResultHolder : public ParseResultHolderBase {
47 explicit ParseResultHolder(T value) in ParseResultHolder() function
58 CHECK_EQ(ParseResultHolder<T>::id, type_id_); in Cast()
59 return static_cast<ParseResultHolder<T>*>(this)->value_; in Cast()
64 CHECK_EQ(ParseResultHolder<T>::id, type_id_); in Cast()
65 return static_cast<const ParseResultHolder<T>*>(this)->value_; in Cast()
71 explicit ParseResult(T x) : value_(new ParseResultHolder<T>(std::move(x))) {} in ParseResult()