Home
last modified time | relevance | path

Searched refs:TemplateLiteral (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DtemplateLiteral.cpp27 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 DtemplateLiteral.h23 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 DtaggedTemplateExpression.h22 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 DtemplateLiteral.cpp25 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 DtaggedTemplateExpression.h32 class TemplateLiteral;
37 explicit TaggedTemplateExpression(Expression *tag, TemplateLiteral *quasi, in TaggedTemplateExpression()
48 const TemplateLiteral *Quasi() const in Quasi()
66 TemplateLiteral *quasi_;
H A DtemplateLiteral.h33 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 DtaggedTemplateExpressionBuilder.h41 TaggedTemplateExpressionBuilder &SetQuasi(TemplateLiteral *quasi) in SetQuasi()
55 TemplateLiteral *quasi_ {};
H A DtemplateLiteralBuilder.h25 class TemplateLiteralBuilder : public AstBuilder<TemplateLiteral> {
44 TemplateLiteral *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dliterals.cpp32 const ir::TemplateLiteral *templateLit = lit->Quasi(); in GetTemplateObject()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dliterals.cpp35 const ir::TemplateLiteral *templateLit = lit->Quasi(); in GetTemplateObject()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h63 class TemplateLiteral;
H A DexpressionParser.cpp718 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 DparserImpl.h232 ir::TemplateLiteral *ParseTemplateLiteral();
H A DASparser.cpp815 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(); in ParsePotentialGenericFunctionCall()
H A DTSparser.cpp1447 ir::TemplateLiteral *propertyNode = ParseTemplateLiteral(); in ParsePotentialGenericFunctionCall()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h143 _(TEMPLATE_LITERAL, TemplateLiteral) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h162 _(TEMPLATE_LITERAL, TemplateLiteral) \
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h95 class TemplateLiteral;
H A DTSAnalyzer.cpp916 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TemplateLiteral *expr) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h86 class TemplateLiteral;
440 ir::TemplateLiteral *ParseTemplateLiteral(bool isTaggedTemplate = false);
H A DexpressionParser.cpp871 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 Dchecker.h95 class TemplateLiteral;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSGen.h526 void BuildTemplateString(const ir::TemplateLiteral *node);
H A DJSCompiler.cpp1028 void JSCompiler::Compile(const ir::TemplateLiteral *expr) const in Compile()
H A DETSCompiler.cpp1184 void ETSCompiler::Compile(const ir::TemplateLiteral *expr) const in Compile()

Completed in 53 milliseconds

12