/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | templateLiteral.cpp | 27 TemplateLiteral::TemplateLiteral([[maybe_unused]] Tag const tag, TemplateLiteral const &other, in TemplateLiteral() function in ark::es2panda::ir::TemplateLiteral 42 TemplateLiteral *TemplateLiteral::Clone(ArenaAllocator *const allocator, AstNode *const parent) in Clone() 44 if (auto *const clone = allocator->New<TemplateLiteral>(Tag {}, *this, allocator); clone != nullptr) { in Clone() 53 void TemplateLiteral::TransformChildren(const NodeTransformer &cb, std::string_view const transformationName) in TransformChildren() 70 void TemplateLiteral::Iterate(const NodeTraverser &cb) const in Iterate() 81 void TemplateLiteral::Dump(ir::AstDumper *dumper) const in Dump() 83 dumper->Add({{"type", "TemplateLiteral"}, {"expression in Dump() [all...] |
H A D | templateLiteral.h | 23 class TemplateLiteral : public Expression { class 28 TemplateLiteral() = delete; 29 ~TemplateLiteral() override = default; 31 NO_COPY_SEMANTIC(TemplateLiteral); 32 NO_MOVE_SEMANTIC(TemplateLiteral); 34 explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expressions) in TemplateLiteral() function in ark::es2panda::ir::TemplateLiteral 39 explicit TemplateLiteral(Tag tag, TemplateLiteral const &other, ArenaAllocator *allocator); 51 [[nodiscard]] TemplateLiteral *Clone(ArenaAllocator *allocator, AstNode *parent) override;
|
H A D | taggedTemplateExpression.h | 22 class TemplateLiteral; 33 explicit TaggedTemplateExpression(Expression *tag, TemplateLiteral *quasi, TSTypeParameterInstantiation *typeParams) in TaggedTemplateExpression() 43 [[nodiscard]] const TemplateLiteral *Quasi() const noexcept 71 TemplateLiteral *quasi_;
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | templateLiteral.cpp | 25 void TemplateLiteral::Iterate(const NodeTraverser &cb) const in Iterate() 36 void TemplateLiteral::Dump(ir::AstDumper *dumper) const in Dump() 38 dumper->Add({{"type", "TemplateLiteral"}, {"expressions", expressions_}, {"quasis", quasis_}}); in Dump() 41 void TemplateLiteral::Compile(compiler::PandaGen *pg) const in Compile() 82 checker::Type *TemplateLiteral::Check(checker::Checker *checker) const in Check() 88 void TemplateLiteral::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
|
H A D | taggedTemplateExpression.h | 32 class TemplateLiteral; 37 explicit TaggedTemplateExpression(Expression *tag, TemplateLiteral *quasi, in TaggedTemplateExpression() 48 const TemplateLiteral *Quasi() const in Quasi() 66 TemplateLiteral *quasi_;
|
H A D | templateLiteral.h | 33 class TemplateLiteral : public Expression { class 35 explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expressions) in TemplateLiteral() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TemplateLiteral
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | taggedTemplateExpressionBuilder.h | 41 TaggedTemplateExpressionBuilder &SetQuasi(TemplateLiteral *quasi) in SetQuasi() 55 TemplateLiteral *quasi_ {};
|
H A D | templateLiteralBuilder.h | 25 class TemplateLiteralBuilder : public AstBuilder<TemplateLiteral> { 44 TemplateLiteral *Build() in Build()
|
/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | literals.cpp | 32 const ir::TemplateLiteral *templateLit = lit->Quasi(); in GetTemplateObject()
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A D | literals.cpp | 35 const ir::TemplateLiteral *templateLit = lit->Quasi(); in GetTemplateObject()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | forwardDeclForParserImpl.h | 63 class TemplateLiteral;
|
H A D | expressionParser.cpp | 718 ir::TemplateLiteral *ParserImpl::ParseTemplateLiteral() in ParseTemplateLiteral() 761 auto *templateNode = AllocNode<ir::TemplateLiteral>(std::move(quasis), std::move(expressions)); in ParseTemplateLiteral() 1662 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(); in ParsePostPrimaryExpressionBackTick()
|
H A D | parserImpl.h | 232 ir::TemplateLiteral *ParseTemplateLiteral();
|
H A D | ASparser.cpp | 815 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(); in ParsePotentialGenericFunctionCall()
|
H A D | TSparser.cpp | 1447 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(); in ParsePotentialGenericFunctionCall()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 143 _(TEMPLATE_LITERAL, TemplateLiteral) \
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 162 _(TEMPLATE_LITERAL, TemplateLiteral) \
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | TSchecker.h | 95 class TemplateLiteral;
|
H A D | TSAnalyzer.cpp | 916 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TemplateLiteral *expr) const in Check()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 86 class TemplateLiteral; 440 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false);
|
H A D | expressionParser.cpp | 871 ir::TemplateLiteral *ParserImpl::ParseTemplateLiteral(bool isTaggedTemplate) in ParseTemplateLiteral() 918 auto *templateNode = AllocNode<ir::TemplateLiteral>(std::move(quasis), std::move(expressions)); in ParseTemplateLiteral() 1634 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(true); in ParsePotentialTsGenericFunctionCall() 1732 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(true); in ParsePostPrimaryExpression()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 95 class TemplateLiteral;
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSGen.h | 526 void BuildTemplateString(const ir::TemplateLiteral *node);
|
H A D | JSCompiler.cpp | 1028 void JSCompiler::Compile(const ir::TemplateLiteral *expr) const in Compile()
|
H A D | ETSCompiler.cpp | 1184 void ETSCompiler::Compile(const ir::TemplateLiteral *expr) const in Compile()
|