• Home
  • Raw
  • Download

Lines Matching refs:StringView

43 using VariableMap = ArenaUnorderedMap<util::StringView, Variable *>;
50 bool AddTSVariable(const util::StringView &name, Variable *variable) in AddTSVariable()
61 Variable *FindTSVariable(const util::StringView &name) const in FindTSVariable()
75 bool InTSBindings(const util::StringView &name) const in InTSBindings()
103 Variable *FindExportVariable(const util::StringView &name) const in FindExportVariable()
112 bool AddExportVariable(const util::StringView &name, Variable *var) in AddExportVariable()
117 bool InExportBindings(const util::StringView &name) const in InExportBindings()
124 Variable *FindExportTSVariable(const util::StringView &name) const in FindExportTSVariable()
130 bool AddExportTSVariable(const util::StringView &name, Variable *var) in AddExportTSVariable()
143 …ScopeFindResult(util::StringView n, Scope *s, uint32_t l, Variable *v) : ScopeFindResult(n, s, l, … in ScopeFindResult()
145 ScopeFindResult(util::StringView n, Scope *s, uint32_t l, uint32_t ll, Variable *v, bool c) in ScopeFindResult()
150 util::StringView name {};
293 VariableType *AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags);
296 …static VariableType *CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags fla…
300 void PropagateBinding(ArenaAllocator *allocator, util::StringView name, Args &&... args);
315 Variable *FindLocal(const util::StringView &name,
318 ScopeFindResult Find(const util::StringView &name,
321 Decl *FindDecl(const util::StringView &name) const;
323 bool HasVarDecl(const util::StringView &name) const;
328 Variable *FindLocalTSVariable(const util::StringView &name) const in FindLocalTSVariable()
334 void AddLocalTSVariable(const util::StringView &name, Variable *var) in AddLocalTSVariable()
339 bool InLocalTSBindings(const util::StringView &name) const in InLocalTSBindings()
360 …std::tuple<Scope *, bool> IterateShadowedVariables(const util::StringView &name, const VariableVis…
410 void AddLexicalVarNameAndType(uint32_t slot, util::StringView name, int type) in AddLexicalVarNameAndType()
412 lexicalVarNameAndTypes_.emplace(slot, std::pair<util::StringView, int>(name, type)); in AddLexicalVarNameAndType()
415 ArenaMap<uint32_t, std::pair<util::StringView, int>> &GetLexicalVarNameAndTypes() in GetLexicalVarNameAndTypes()
447 …ArenaMap<uint32_t, std::pair<util::StringView, int>> lexicalVarNameAndTypes_; // for debuginfo and…
467 bool HasParam(util::StringView name) const in HasParam()
512 void BindName(ArenaAllocator *allocator, util::StringView name);
585 void BindName(util::StringView name, util::StringView internalName) in BindName()
591 const util::StringView &Name() const in Name()
596 const util::StringView &InternalName() const in InternalName()
615 util::StringView name_ {};
616 util::StringView internalName_ {};
710 void AssignIndexToModuleVariable(util::StringView name, uint32_t index);
712 … void ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView localName);
734 Variable *FindExportTSVariable(const util::StringView &name) const in FindExportTSVariable()
740 bool AddExportTSVariable(const util::StringView &name, Variable *var) in AddExportTSVariable()
745 Variable *FindExportVariable(const util::StringView &name) const in FindExportVariable()
750 bool AddExportVariable(const util::StringView &name, Variable *var) in AddExportVariable()
755 bool AddExportVariable(const util::StringView &name) in AddExportVariable()
760 bool InExportBindings(const util::StringView &name) const in InExportBindings()
765 void AddDeclarationName(const util::StringView &name) in AddDeclarationName()
770 bool HasVariableName(const util::StringView &name) const in HasVariableName()
777 ArenaSet<util::StringView> variableNames_;
795 Variable *FindEnumMemberVariable(const util::StringView &name) const in FindEnumMemberVariable()
804 void AddDeclarationName(const util::StringView &name) in AddDeclarationName()
809 bool HasDeclarationName(const util::StringView &name) const in HasDeclarationName()
819 ArenaSet<util::StringView> variableNames_;
979 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags) in AddDecl()
995 VariableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flag… in CreateVar()
1005 void Scope::PropagateBinding(ArenaAllocator *allocator, util::StringView name, Args &&... args) in PropagateBinding()