Home
last modified time | relevance | path

Searched refs:TemplateElement (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DtemplateElement.cpp25 void TemplateElement::TransformChildren([[maybe_unused]] const NodeTransformer &cb, in TransformChildren()
30 void TemplateElement::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate()
32 void TemplateElement::Dump(ir::AstDumper *dumper) const in Dump()
35 {"type", "TemplateElement"}, in Dump()
40 void TemplateElement::Dump(ir::SrcDumper *dumper) const in Dump()
45 void TemplateElement::Compile(compiler::PandaGen *pg) const in Compile()
50 void TemplateElement::Compile(compiler::ETSGen *etsg) const in Compile()
55 checker::Type *TemplateElement::Check(checker::TSChecker *checker) in Check()
60 checker::Type *TemplateElement::Check(checker::ETSChecker *checker) in Check()
65 TemplateElement *TemplateElemen
[all...]
H A DtemplateElement.h23 class TemplateElement : public Expression { class
25 ~TemplateElement() override = default;
27 NO_COPY_SEMANTIC(TemplateElement);
28 NO_MOVE_SEMANTIC(TemplateElement);
30 explicit TemplateElement() : Expression(AstNodeType::TEMPLATE_ELEMENT) {} in TemplateElement() function in ark::es2panda::ir::TemplateElement
32 explicit TemplateElement(util::StringView const raw, util::StringView const cooked) in TemplateElement() function in ark::es2panda::ir::TemplateElement
47 [[nodiscard]] TemplateElement *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DtemplateElement.cpp25 void TemplateElement::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate()
27 void TemplateElement::Dump(ir::AstDumper *dumper) const in Dump()
30 {"type", "TemplateElement"}, in Dump()
35 void TemplateElement::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
37 checker::Type *TemplateElement::Check([[maybe_unused]] checker::Checker *checker) const in Check()
42 void TemplateElement::UpdateSelf([[maybe_unused]] const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) {} in UpdateSelf()
H A DtemplateElement.h33 class TemplateElement : public Expression { class
35 explicit TemplateElement() : Expression(AstNodeType::TEMPLATE_ELEMENT) {} in TemplateElement() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TemplateElement
37 explicit TemplateElement(util::StringView raw, util::StringView cooked) in TemplateElement() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TemplateElement
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DtemplateLiteral.h35 explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expressions) in TemplateLiteral()
40 const ArenaVector<TemplateElement *> &Quasis() const in Quasis()
57 ArenaVector<TemplateElement *> quasis_;
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DtemplateLiteral.h34 explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expressions) in TemplateLiteral()
41 [[nodiscard]] const ArenaVector<TemplateElement *> &Quasis() const noexcept
68 ArenaVector<TemplateElement *> quasis_;
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DtemplateLiteralBuilder.h32 TemplateLiteralBuilder &AddQuasis(TemplateElement *quasi) in AddQuasis()
51 ArenaVector<TemplateElement *> quasis_;
H A DtemplateElementBuilder.h25 class TemplateElementBuilder : public AstBuilder<TemplateElement> {
41 TemplateElement *Build() in Build()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsTemplateLiteralType.h29 explicit TSTemplateLiteralType(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&references) in TSTemplateLiteralType()
42 ArenaVector<TemplateElement *> quasis_;
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h142 _(TEMPLATE_ELEMENT, TemplateElement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h161 _(TEMPLATE_ELEMENT, TemplateElement) \
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompilerUnreachable.cpp66 void JSCompiler::Compile([[maybe_unused]] const ir::TemplateElement *expr) const in Compile()
H A DETSCompiler.cpp69 void ETSCompiler::Compile(const ir::TemplateElement *expr) const in Compile()
H A DETSGen.cpp2565 ArenaVector<ir::TemplateElement *> const &quasis) -> void { in BuildTemplateString()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzerUnreachable.cpp66 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TemplateElement *expr) const in Check()
H A DETSAnalyzer.cpp271 checker::Type *ETSAnalyzer::Check(ir::TemplateElement *expr) const in Check()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DexpressionParser.cpp722 ArenaVector<ir::TemplateElement *> quasis(Allocator()->Adapter()); in ParseTemplateLiteral()
735 auto *element = AllocNode<ir::TemplateElement>(raw.View(), cooked); in ParseTemplateLiteral()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp875 ArenaVector<ir::TemplateElement *> quasis(Allocator()->Adapter()); in ParseTemplateLiteral()
891 auto *element = AllocNode<ir::TemplateElement>(raw.View(), cooked); in ParseTemplateLiteral()
H A DparserImpl.cpp495 ArenaVector<ir::TemplateElement *> quasis(Allocator()->Adapter()); in ParseTsTemplateLiteralType()
508 auto *element = AllocNode<ir::TemplateElement>(raw.View(), cooked); in ParseTsTemplateLiteralType()

Completed in 30 milliseconds