• Home
  • Raw
  • Download

Lines Matching full:stringview

33     util::StringView name;
38 util::StringView name;
42 using PrivateElementMap = std::unordered_map<util::StringView, util::StringView>;
43 using ComputedPropertyMap = std::unordered_map<ir::Statement *, util::StringView>;
46 util::StringView name;
47 util::StringView aliasName;
56 util::StringView backupName; // For computed property.
64 explicit DuringClass(ArenaVector<ClassInfo> *classList, util::StringView name, in DuringClass()
65 util::StringView aliasName, ir::ClassDefinition *node) in DuringClass()
111 void AddVariableToNearestStatements(util::StringView name);
134 util::StringView propName);
140 util::StringView name);
143 util::StringView CreateClassAliasName(ir::ClassDeclaration *node);
144 const ir::ClassDefinition *GetClassReference(util::StringView name) const;
149 ir::VariableDeclaration *CreateVariableDeclarationWithIdentify(util::StringView name,
156 util::StringView name,
158 ir::Expression *CreateTsModuleParam(util::StringView paramName, bool isExport);
159 ir::ExpressionStatement *CreateTsModuleAssignment(util::StringView name);
163 std::vector<ir::AstNode *> CreateMethodDecorators(util::StringView className,
167 std::vector<ir::AstNode *> CreatePropertyDecorators(util::StringView className,
178 std::vector<ir::AstNode *> CreateParamDecorators(util::StringView className,
183 ir::MemberExpression *CreateClassPrototype(util::StringView className);
184 ir::Expression *CreateDecoratorTarget(util::StringView className, bool isStatic);
185 ir::Identifier *CreateReferenceIdentifier(util::StringView name);
186 util::StringView CreatePrivateElementBindName(util::StringView name);
187 util::StringView CreateNewVariable(bool needAddToStatements = true);
188 util::StringView CreateNewVariableName() const;
189 util::StringView CreateUniqueName(const std::string &head, size_t *index = nullptr) const;
191 util::StringView GetNameFromModuleDeclaration(ir::TSModuleDeclaration *node) const;
192 util::StringView GetParamName(ir::AstNode *node, util::StringView name) const;
195 binder::Scope *FindExportVariableInTsModuleScope(util::StringView name) const;
197 util::StringView FindPrivateElementBindName(util::StringView name);
198 void AddExportLocalEntryItem(util::StringView name, const ir::Identifier *identifier);
204 …ir::AstNode *CreateVariableDeclarationForTSEnumOrTSModule(util::StringView name, ir::AstNode *node…
205 util::StringView GetNameFromTsEnumDeclaration(const ir::TSEnumDeclaration *node) const;
206 …ir::CallExpression *CreateCallExpressionForTsEnum(ir::TSEnumDeclaration *node, util::StringView na…
209 util::StringView enumLiteralName);
211 util::StringView enumLiteralName,
212 util::StringView enumMemberName);
214 util::StringView enumLiteralName,
215 util::StringView enumMemberName);
218 util::StringView enumLiteralName,
219 util::StringView enumMemberName);
220 … ArenaVector<ir::Expression *> CreateCallExpressionArguments(util::StringView name, bool isExport);
226 void FindLocalTSVariables(binder::Scope *scope, const util::StringView name,
229 void FindExportTSVariables(binder::Scope *scope, const util::StringView name,
233 util::StringView GetNameForMemberExpressionItem(const ir::Expression *node) const;
234 util::StringView GetNameFromEnumMember(const ir::TSEnumMember *node) const;
235 binder::Scope *FindEnumMemberScope(const util::StringView name) const;
249 … binder::Variable *FindTSVariable(const binder::Scope *scope, const util::StringView &name) const;
293 util::StringView GetCurrentTSModuleName() const in GetCurrentTSModuleName()
298 util::StringView FindTSModuleNameByScope(binder::Scope *scope) const in FindTSModuleNameByScope()
308 util::StringView FindTSEnumNameByScope(binder::Scope *scope) const in FindTSEnumNameByScope()
328 util::StringView RecordName() const in RecordName()
343 void AddPrivateElementBinding(util::StringView name, util::StringView bindName) in AddPrivateElementBinding()
348 void AddComputedPropertyBinding(ir::Statement *property, util::StringView name) in AddComputedPropertyBinding()
353 util::StringView GetComputedPropertyBinding(ir::Statement *property) in GetComputedPropertyBinding()
361 util::StringView GetClassAliasName() const in GetClassAliasName()
366 …util::StringView GetClassAliasName(util::StringView originName, const ir::ClassDefinition *node) c… in GetClassAliasName()
384 std::unordered_map<util::StringView, binder::Scope *> tempVarDeclStatements_ {};