Searched refs:ScopeFlags (Results 1 - 6 of 6) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | scope.h | 143 void AddFlag(ScopeFlags flag) in AddFlag() 148 void ClearFlag(ScopeFlags flag) in ClearFlag() 153 bool HasFlag(ScopeFlags flag) const in HasFlag() 288 explicit Scope(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) in Scope() 366 ScopeFlags flags_ {}; 529 explicit LocalScope(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) : Scope(allocator, parent, flags) {} in LocalScope() 544 typeAliasScope_(allocator->New<LocalScope>(allocator, this, ScopeFlags::TYPE_ALIAS)) in LocalScopeWithTypeAlias() 547 explicit LocalScopeWithTypeAlias(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) in LocalScopeWithTypeAlias() 549 typeAliasScope_(allocator->New<LocalScope>(allocator, this, ScopeFlags::TYPE_ALIAS)) in LocalScopeWithTypeAlias() 576 typeAliasScope_(allocator->New<LocalScope>(allocator, this, ScopeFlags in FunctionScope() [all...] |
H A D | varbinder.cpp | 182 (*scope)->AddFlag(ScopeFlags::USE_ARGS); in InstantiateArgumentsImpl() 219 scope->AddFlag(ScopeFlags::NO_REG_STORE); in PropagateDirectEval() 488 outerVarScope->AddFlag(ScopeFlags::INNER_ARROW); in AddCompilableFunction() 551 varScope->AddFlag(ScopeFlags::USE_SUPER); in ResolveReference() 665 if (funcScope->HasFlag(ScopeFlags::USE_ARGS)) { in LookUpMandatoryReferences() 714 funcScope->HasFlag(ScopeFlags::USE_SUPER)) { in AddMandatoryParams() 715 ASSERT(ctor->Scope()->HasFlag(ScopeFlags::INNER_ARROW)); in AddMandatoryParams() 716 ctor->Scope()->AddFlag(ScopeFlags::SET_LEXICAL_FUNCTION); in AddMandatoryParams()
|
H A D | variableFlags.h | 170 enum class ScopeFlags : uint32_t { class 202 struct IsAllowedType<ark::es2panda::varbinder::ScopeFlags> : std::true_type {
|
H A D | scope.cpp | 328 if (!HasFlag(ScopeFlags::NO_REG_STORE) || varMap.empty()) { in CheckDirectEval()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | checkScopeDeclaration.cpp | 71 if (node->Scope()->HasFlag(varbinder::ScopeFlags::LOOP_SCOPE)) { in CheckScope()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | pandagen.cpp | 490 if (!Scope()->HasFlag(varbinder::ScopeFlags::USE_ARGS)) { in LoadAccFromArgs()
|
Completed in 8 milliseconds