Home
last modified time | relevance | path

Searched refs:ALLOW_CONST (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
H A DexpressionTSParser.cpp127 TypeAnnotationParsingOptions::REPORT_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParsePotentialAsExpression()
H A DparserImpl.h40 ALLOW_CONST = 1U << 1U, member in ark::es2panda::ark::es2panda::parser::TypeAnnotationParsingOptions
H A DTSparser.cpp1279 if (((*options) & TypeAnnotationParsingOptions::ALLOW_CONST) == 0) { in ParseKeywordTokens()
1283 (*options) &= ~TypeAnnotationParsingOptions::ALLOW_CONST; in ParseKeywordTokens()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h162 ALLOW_CONST = 1 << 1, member in panda::es2panda::lexer::TokenFlags::ModifierFlags::TypeAnnotationParsingOptions
H A DparserImpl.cpp598 if (!(*options & TypeAnnotationParsingOptions::ALLOW_CONST)) { in ParseTsTypeAnnotationElement()
602 *options &= ~TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsTypeAnnotationElement()
820 *options &= ~TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsTypeAnnotation()
H A DexpressionParser.cpp137 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsAsExpression()
554 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsTypeAssertion()

Completed in 30 milliseconds