Lines Matching refs:VariableFlags
236 VariableType *AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags);
239 static VariableType *CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flags,
410 Variable *AddTSBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
446 Variable *AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
713 void SetFlagsType(VariableFlags flagsType)
717 void SetBindingProps(VariableFlags flags, ir::Identifier *ident, LocalScope *targetScope)
723 VariableFlags GetFlags() const
737 VariableFlags flags_ = VariableFlags::NONE;
953 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, VariableFlags::HOIST_VAR)).first->second;
958 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
975 VariableFlags flags = (extension == ScriptExtension::JS) ? VariableFlags::HOIST_VAR : VariableFlags::HOIST;
988 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
999 Decl *newDecl, VariableFlags flags)
1012 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, VariableFlags::NONE)).first->second;
1025 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags)
1042 VariableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flags, ir::AstNode *node)