Lines Matching refs:StringView
31 util::StringView name;
36 util::StringView name;
40 using PrivatePropertyMap = std::unordered_map<util::StringView, util::StringView>;
41 using ComputedPropertyMap = std::unordered_map<ir::Statement *, util::StringView>;
44 util::StringView name;
52 explicit DuringClass(ArenaVector<ClassInfo> *classList, util::StringView name) in DuringClass()
97 void AddVariableToNearestStatements(util::StringView name);
110 util::StringView name);
115 ir::VariableDeclaration *CreateVariableDeclarationWithIdentify(util::StringView name,
122 util::StringView name,
124 ir::Expression *CreateTsModuleParam(util::StringView paramName, bool isExport);
125 ir::ExpressionStatement *CreateTsModuleAssignment(util::StringView name);
129 std::vector<ir::AstNode *> CreateMethodDecorators(util::StringView className,
133 std::vector<ir::AstNode *> CreatePropertyDecorators(util::StringView className,
140 std::vector<ir::AstNode *> CreateParamDecorators(util::StringView className,
145 ir::MemberExpression *CreateClassPrototype(util::StringView className);
146 ir::Expression *CreateDecoratorTarget(util::StringView className, bool isStatic);
147 ir::Identifier *CreateReferenceIdentifier(util::StringView name);
148 util::StringView CreatePrivatePropertyBindName(util::StringView name);
149 util::StringView CreateNewVariable(bool needAddToStatements = true);
150 util::StringView CreateNewVariableName() const;
151 util::StringView CreateUniqueName(const std::string &head, size_t *index = nullptr) const;
153 util::StringView GetNameFromModuleDeclaration(ir::TSModuleDeclaration *node) const;
154 util::StringView GetParamName(ir::AstNode *node, util::StringView name) const;
157 binder::Scope *FindExportVariableInTsModuleScope(util::StringView name) const;
159 util::StringView FindPrivatePropertyBindName(util::StringView name);
160 void AddExportLocalEntryItem(util::StringView name, const ir::Identifier *identifier);
166 …ir::AstNode *CreateVariableDeclarationForTSEnumOrTSModule(util::StringView name, ir::AstNode *node…
167 util::StringView GetNameFromTsEnumDeclaration(const ir::TSEnumDeclaration *node) const;
168 …ir::CallExpression *CreateCallExpressionForTsEnum(ir::TSEnumDeclaration *node, util::StringView na…
171 util::StringView enumLiteralName);
173 util::StringView enumLiteralName,
174 util::StringView enumMemberName);
176 util::StringView enumLiteralName,
177 util::StringView enumMemberName);
180 util::StringView enumLiteralName,
181 util::StringView enumMemberName);
182 … ArenaVector<ir::Expression *> CreateCallExpressionArguments(util::StringView name, bool isExport);
188 void FindLocalTSVariables(binder::Scope *scope, const util::StringView name,
191 void FindExportTSVariables(binder::Scope *scope, const util::StringView name,
195 util::StringView GetNameForMemberExpressionItem(const ir::Expression *node) const;
196 util::StringView GetNameFromEnumMember(const ir::TSEnumMember *node) const;
197 binder::Scope *FindEnumMemberScope(const util::StringView name) const;
210 … binder::Variable *FindTSVariable(const binder::Scope *scope, const util::StringView &name) const;
249 util::StringView GetCurrentTSModuleName() const in GetCurrentTSModuleName()
254 util::StringView FindTSModuleNameByScope(binder::Scope *scope) const in FindTSModuleNameByScope()
264 util::StringView FindTSEnumNameByScope(binder::Scope *scope) const in FindTSEnumNameByScope()
284 util::StringView RecordName() const in RecordName()
299 void AddPrivatePropertyBinding(util::StringView name, util::StringView bindName) in AddPrivatePropertyBinding()
304 void AddComputedPropertyBinding(ir::Statement *property, util::StringView name) in AddComputedPropertyBinding()
309 util::StringView GetComputedPropertyBinding(ir::Statement *property) in GetComputedPropertyBinding()
321 std::unordered_map<util::StringView, binder::Scope *> tempVarDeclStatements_ {};