Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DunaryExpression.cpp25 void UnaryExpression::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
33 void UnaryExpression::Iterate(const NodeTraverser &cb) const in Iterate()
38 void UnaryExpression::Dump(ir::AstDumper *dumper) const in Dump()
40 dumper->Add({{"type", "UnaryExpression"}, {"operator", operator_}, {"prefix", true}, {"argument", argument_}}); in Dump()
43 void UnaryExpression::Dump(ir::SrcDumper *dumper) const in Dump()
55 void UnaryExpression::Compile(compiler::PandaGen *pg) const in Compile()
60 void UnaryExpression::Compile([[maybe_unused]] compiler::ETSGen *etsg) const in Compile()
65 checker::Type *UnaryExpression::Check([[maybe_unused]] checker::TSChecker *checker) in Check()
70 checker::Type *UnaryExpression::Check(checker::ETSChecker *checker) in Check()
75 UnaryExpression *UnaryExpressio
[all...]
H A DunaryExpression.h35 class UnaryExpression : public Expression { class
37 UnaryExpression() = delete;
38 ~UnaryExpression() override = default;
40 NO_COPY_SEMANTIC(UnaryExpression);
41 NO_MOVE_SEMANTIC(UnaryExpression);
43 explicit UnaryExpression(Expression *const argument, lexer::TokenType const unaryOperator) in UnaryExpression() function in ark::es2panda::ark::es2panda::ark::es2panda::ir::UnaryExpression
66 [[nodiscard]] UnaryExpression *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DunaryExpressionBuilder.h25 class UnaryExpressionBuilder : public AstBuilder<ir::UnaryExpression> {
41 UnaryExpression *Build() in Build()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DunaryExpression.cpp29 void UnaryExpression::Iterate(const NodeTraverser &cb) const in Iterate()
34 void UnaryExpression::Dump(ir::AstDumper *dumper) const in Dump()
36 dumper->Add({{"type", "UnaryExpression"}, {"operator", operator_}, {"prefix", true}, {"argument", argument_}}); in Dump()
39 void UnaryExpression::Compile(compiler::PandaGen *pg) const in Compile()
120 checker::Type *UnaryExpression::Check(checker::Checker *checker) const in Check()
212 void UnaryExpression::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
H A DunaryExpression.h33 class UnaryExpression : public Expression { class
35 explicit UnaryExpression(Expression *argument, lexer::TokenType unaryOperator) in UnaryExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::UnaryExpression
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.h39 checker::Type *CheckDeleteKeyword([[maybe_unused]] checker::TSChecker *checker, ir::UnaryExpression *expr) const;
40 checker::Type *CheckLiteral([[maybe_unused]] checker::TSChecker *checker, ir::UnaryExpression *expr) const;
62 const ir::UnaryExpression *expr) const;
H A DETSAnalyzerHelpers.h53 void ProcessExclamationMark(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType);
54 void SetTsTypeForUnaryExpression(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType);
H A DcheckerContext.h230 void CheckUnarySmartCastCondition(ir::UnaryExpression const *unaryExpression) noexcept;
H A DTSAnalyzer.cpp937 ir::UnaryExpression *expr) const in CheckDeleteKeyword()
954 checker::Type *TSAnalyzer::CheckLiteral([[maybe_unused]] checker::TSChecker *checker, ir::UnaryExpression *expr) const in CheckLiteral()
976 checker::Type *TSAnalyzer::Check(ir::UnaryExpression *expr) const in Check()
1437 const ir::UnaryExpression *unaryExpr = arg->AsUnaryExpression(); in IsValidConstAssertionArgument()
1645 const ir::UnaryExpression *expr) const in EvaluateUnaryExpression()
H A DTSchecker.h49 class UnaryExpression;
H A DcheckerContext.cpp291 void CheckerContext::CheckUnarySmartCastCondition(ir::UnaryExpression const *const unaryExpression) noexcept
H A DETSAnalyzerHelpers.cpp409 void ProcessExclamationMark(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType) in ProcessExclamationMark()
436 void SetTsTypeForUnaryExpression(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType) in SetTsTypeForUnaryExpression()
H A DETSAnalyzer.cpp1735 checker::Type *ETSAnalyzer::Check(ir::UnaryExpression *expr) const in Check()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsAsExpression.cpp57 const ir::UnaryExpression *unaryExpr = arg->AsUnaryExpression(); in IsValidConstAssertionArgument()
H A DtsEnumDeclaration.cpp105 const ir::UnaryExpression *expr) in EvaluateUnaryExpression()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h148 _(UNARY_EXPRESSION, UnaryExpression) \
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DassignAnalyzer.h136 void AnalyzeUnaryExpr(const ir::UnaryExpression *unaryExpr);
H A DassignAnalyzer.cpp1162 void AssignAnalyzer::AnalyzeUnaryExpr(const ir::UnaryExpression *unaryExpr) in AnalyzeUnaryExpr()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h167 _(UNARY_EXPRESSION, UnaryExpression) \
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h50 class UnaryExpression;
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserExpressions.cpp265 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()
H A DexpressionParser.cpp2305 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1106 void JSCompiler::Compile(const ir::UnaryExpression *expr) const in Compile()
H A DETSCompiler.cpp1213 void ETSCompiler::Compile(const ir::UnaryExpression *expr) const in Compile()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp2437 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()

Completed in 31 milliseconds