/arkcompiler/ets_frontend/es2panda/ir/module/ |
H A D | importDeclaration.h | 39 AssertClause *assertClause, bool isType, bool isLazy) in ImportDeclaration() 44 isType_(isType), in ImportDeclaration() 38 ImportDeclaration(StringLiteral *source, ArenaVector<AstNode *> &&specifiers, AssertClause *assertClause, bool isType, bool isLazy) ImportDeclaration() argument
|
H A D | exportSpecifier.h | 36 explicit ExportSpecifier(Identifier *local, Identifier *exported, bool isType) in ExportSpecifier() argument 37 : Statement(AstNodeType::EXPORT_SPECIFIER), local_(local), exported_(exported), isType_(isType) in ExportSpecifier()
|
H A D | importSpecifier.h | 36 explicit ImportSpecifier(Identifier *imported, Identifier *local, bool isType, bool isLazy) in ImportSpecifier() argument 37 : Statement(AstNodeType::IMPORT_SPECIFIER), imported_(imported), local_(local), isType_(isType), isLazy_(isLazy) in ImportSpecifier()
|
H A D | exportNamedDeclaration.h | 39 AssertClause *assertClause, bool isType) in ExportNamedDeclaration() 45 isType_(isType) in ExportNamedDeclaration() 38 ExportNamedDeclaration(StringLiteral *source, ArenaVector<ExportSpecifier *> &&specifiers, AssertClause *assertClause, bool isType) ExportNamedDeclaration() argument
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | statementParser.cpp | 2226 const ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy) in AddImportEntryItem() 2235 if (isType) { in AddImportEntryItem() 2251 AddImportEntryItemForImportDefaultOrNamespaceSpecifier(source, it, isType); in AddImportEntryItem() 2274 const ir::AstNode *specifier, bool isType) in AddImportEntryItemForImportDefaultOrNamespaceSpecifier() 2276 auto *moduleRecord = isType ? GetSourceTextTypeModuleRecord() : GetSourceTextModuleRecord(); in AddImportEntryItemForImportDefaultOrNamespaceSpecifier() 2297 const ir::StringLiteral *source, bool isType) in AddExportNamedEntryItem() 2586 bool isType) in ParseExportNamedSpecifiers() 2598 bool isTypeOfExportSpecifier = isType; in ParseExportNamedSpecifiers() 2603 if (isType) { in ParseExportNamedSpecifiers() 2655 AddExportNamedEntryItem(specifiers, source, isType); in ParseExportNamedSpecifiers() 2225 AddImportEntryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy) AddImportEntryItem() argument 2273 AddImportEntryItemForImportDefaultOrNamespaceSpecifier(const ir::StringLiteral *source, const ir::AstNode *specifier, bool isType) AddImportEntryItemForImportDefaultOrNamespaceSpecifier() argument 2296 AddExportNamedEntryItem(const ArenaVector<ir::ExportSpecifier *> &specifiers, const ir::StringLiteral *source, bool isType) AddExportNamedEntryItem() argument 2585 ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType) ParseExportNamedSpecifiers() argument 2853 bool isType = false; ParseExportDeclaration() local 2912 ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType) ParseNameSpaceImport() argument 2936 AddImportDecl(bool isType, util::StringView name, lexer::SourcePosition startPos, binder::DeclarationFlags flag) AddImportDecl() argument 2972 ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy) ParseNamedImportSpecifiers() argument 3106 ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType) ParseImportDefaultSpecifier() argument 3172 ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy) ParseImportSpecifiers() argument 3240 bool isType = false; ParseImportDeclaration() local [all...] |
H A D | parserImpl.h | 449 void ParseNameSpaceImport(ArenaVector<ir::AstNode *> *specifiers, bool isType); 451 binder::Decl *AddImportDecl(bool isType, 457 void ParseNamedImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); 460 ir::AstNode *ParseImportDefaultSpecifier(ArenaVector<ir::AstNode *> *specifiers, bool isType); 461 ir::AstNode *ParseImportSpecifiers(ArenaVector<ir::AstNode *> *specifiers, bool isType, bool isLazy); 471 ir::ExportNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool isType); 501 void AddImportEntryItem(const ir::StringLiteral *source, const ArenaVector<ir::AstNode *> *specifiers, bool isType, 506 const ir::AstNode *specifier, bool isType); 508 const ir::StringLiteral *source, bool isType);
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | importExportDecls.cpp | 101 const bool isType = exportedTypes_.find(exportName) != exportedTypes_.end(); in HandleGlobalStmts() local 106 if (fieldMap_.find(originalName) == fieldMap_.end() && !isType && in HandleGlobalStmts() 111 if (!isType) { in HandleGlobalStmts()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSemitter.h | 85 void GenAnnotationRecord(std::string_view recordNameView, bool isRuntime = false, bool isType = false);
|
H A D | ETSemitter.cpp | 695 void ETSEmitter::GenAnnotationRecord(std::string_view recordNameView, bool isRuntime, bool isType) in GenAnnotationRecord() argument 703 if (isRuntime && isType) { in GenAnnotationRecord() 706 } else if (isRuntime && !isType) { in GenAnnotationRecord() 708 } else if (!isRuntime && isType) { in GenAnnotationRecord()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 1669 bool isType = true; in IsInstantiatedImportEquals() local 1670 auto *var = FindTSModuleVariable(node->ModuleReference(), scope, &isType); in IsInstantiatedImportEquals() 1672 return !isType; in IsInstantiatedImportEquals() 1682 bool *isType) const in FindTSModuleVariable() 1689 auto *var = FindTSModuleVariable(tsQualifiedName->Left(), scope, isType); in FindTSModuleVariable() 1691 // If it's not a namespace, we would set isType flag before. So we don't set isType here. in FindTSModuleVariable() 1704 res->AsImportEqualsVariable()->GetScope(), isType); in FindTSModuleVariable() 1710 *isType = exportTSBindings->FindExportVariable(name) == nullptr && in FindTSModuleVariable() 1728 res->AsImportEqualsVariable()->GetScope(), isType); in FindTSModuleVariable() [all...] |
H A D | transformer.h | 196 binder::Variable *FindTSModuleVariable(const ir::Expression *node, const binder::Scope *scope, bool *isType) const;
|