Home
last modified time | relevance | path

Searched refs:ENUM_LITERAL (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp214 case DeclType::ENUM_LITERAL: { in AddLocal()
216 … newDecl->Name(), allocator->New<EnumLiteralVariable>(newDecl, VariableFlags::ENUM_LITERAL)); in AddLocal()
315 case DeclType::ENUM_LITERAL: { in AddBinding()
316 … return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
353 case DeclType::ENUM_LITERAL: { in AddBinding()
354 … return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
428 case DeclType::ENUM_LITERAL: { in AddBinding()
429 … return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
DvariableFlags.h35 _(ENUM_LITERAL, EnumLiteralDecl) \
116 ENUM_LITERAL = 1 << 5, enumerator
Ddeclaration.h166 return DeclType::ENUM_LITERAL; in Type()
Dscope.h937 case VariableFlags::ENUM_LITERAL: { in AddTSBinding()
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeFlag.h43 ENUM_LITERAL = 1ULL << 16, // member of enum enumerator
74 …PRIMITIVE = STRING | NUMBER | BIGINT | BOOLEAN | ENUM | ENUM_LITERAL | SYMBOL | VOID | UNDEFINED |…
DenumLiteralType.h32 : Type(TypeFlag::ENUM_LITERAL), name_(name), scope_(scope), kind_(kind) in EnumLiteralType()
DtypeMapping.h41 _(TypeFlag::ENUM_LITERAL, EnumLiteralType) \
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsAsExpression.cpp70 … if (result.variable && result.variable->TsType()->HasTypeFlag(checker::TypeFlag::ENUM_LITERAL) && in IsValidConstAssertionArgument()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dhelpers.cpp103 if (result.variable->HasFlag(binder::VariableFlags::ENUM_LITERAL)) { in CheckReferenceExpression()
454 case binder::DeclType::ENUM_LITERAL: { in GetTypeOfVariable()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp1967 case binder::VariableFlags::ENUM_LITERAL: { in VerifyMemberExpressionDeque()