Home
last modified time | relevance | path

Searched refs:ENUM_LITERAL (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DvariableFlags.h39 _(ENUM_LITERAL, EnumLiteralDecl) \
129 ENUM_LITERAL = 1U << 5U, member in ark::es2panda::varbinder::VariableFlags
162 CLASS_OR_INTERFACE_OR_ENUM = CLASS_OR_INTERFACE | ENUM_LITERAL,
H A Dscope.cpp283 case DeclType::ENUM_LITERAL: { in AddLocal()
285 .insert({newDecl->Name(), allocator->New<LocalVariable>(newDecl, VariableFlags::ENUM_LITERAL)}) in AddLocal()
463 case DeclType::ENUM_LITERAL: { in AddBinding()
464 return AddTSBinding<LocalVariable>(allocator, currentVariable, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
510 case DeclType::ENUM_LITERAL: { in AddBinding()
511 return AddTSBinding<LocalVariable>(allocator, currentVariable, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
608 case DeclType::ENUM_LITERAL: { in AddBinding()
609 return AddTSBinding<LocalVariable>(allocator, currentVariable, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
890 case DeclType::ENUM_LITERAL: { in SetBindingProps()
891 props->SetBindingProps(VariableFlags::ENUM_LITERAL, newDec in SetBindingProps()
[all...]
H A Ddeclaration.h144 return DeclType::ENUM_LITERAL;
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DtypeFlag.h43 ENUM_LITERAL = 1ULL << 16, // member of enum member in panda::es2panda::checker::TypeFlag
74 PRIMITIVE = STRING | NUMBER | BIGINT | BOOLEAN | ENUM | ENUM_LITERAL | SYMBOL | VOID | UNDEFINED | NULL_TYPE |
H A DenumLiteralType.h32 : Type(TypeFlag::ENUM_LITERAL), name_(name), scope_(scope), kind_(kind) in EnumLiteralType()
H A DtypeMapping.h41 _(TypeFlag::ENUM_LITERAL, EnumLiteralType) \
/arkcompiler/ets_frontend/es2panda/binder/
H A DvariableFlags.h36 _(ENUM_LITERAL, EnumLiteralDecl) \
120 ENUM_LITERAL = 1 << 5, member in panda::es2panda::binder::VariableFlags
H A Dscope.cpp445 case DeclType::ENUM_LITERAL: { in AddLocal()
447 newDecl->Name(), allocator->New<EnumLiteralVariable>(newDecl, VariableFlags::ENUM_LITERAL)); in AddLocal()
595 case DeclType::ENUM_LITERAL: { in AddBinding()
596 return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
713 case DeclType::ENUM_LITERAL: { in AddBinding()
714 return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
793 case DeclType::ENUM_LITERAL: { in AddBinding()
794 return AddTSBinding<EnumLiteralVariable>(allocator, newDecl, VariableFlags::ENUM_LITERAL); in AddBinding()
H A Ddeclaration.h172 return DeclType::ENUM_LITERAL;
H A Dscope.h1321 case VariableFlags::ENUM_LITERAL: { in AddTSBinding()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
H A DenumLiteralType.h31 : Type(TypeFlag::ENUM_LITERAL), name_(name), scope_(scope), kind_(kind) in EnumLiteralType()
/arkcompiler/ets_frontend/ets2panda/checker/types/
H A DtypeFlag.h45 ENUM_LITERAL = 1ULL << 16ULL, // member of enum member in ark::es2panda::checker::TypeFlag
125 STRING | NUMBER | BIGINT | BOOLEAN | ENUM | ENUM_LITERAL | SYMBOL | VOID | UNDEFINED | NULL_TYPE | LITERAL,
H A DtypeMapping.h41 _(TypeFlag::ENUM_LITERAL, EnumLiteralType) \
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsAsExpression.cpp70 if (result.variable && result.variable->TsType()->HasTypeFlag(checker::TypeFlag::ENUM_LITERAL) && in IsValidConstAssertionArgument()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dhelpers.cpp104 if (result.variable->HasFlag(binder::VariableFlags::ENUM_LITERAL)) { in CheckReferenceExpression()
457 case binder::DeclType::ENUM_LITERAL: { in GetTypeOfVariable()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dhelpers.cpp102 if (result.variable->HasFlag(varbinder::VariableFlags::ENUM_LITERAL)) { in CheckReferenceExpression()
457 case varbinder::DeclType::ENUM_LITERAL: { in GetDeclTsType()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsEnumType.cpp287 !localVar->HasFlag(varbinder::VariableFlags::ENUM_LITERAL));
288 return localVar->HasFlag(varbinder::VariableFlags::ENUM_LITERAL);
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCheckingHelpers.cpp440 case varbinder::DeclType::ENUM_LITERAL:
H A Dhelpers.cpp94 case varbinder::VariableFlags::ENUM_LITERAL: { in WrongContextErrorClassifyByType()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp1451 result.variable->TsType()->HasTypeFlag(checker::TypeFlag::ENUM_LITERAL) && in IsValidConstAssertionArgument()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp2475 case binder::VariableFlags::ENUM_LITERAL: { in VerifyMemberExpressionDeque()

Completed in 26 milliseconds