/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | unaryExpression.cpp | 25 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 D | unaryExpression.h | 35 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 D | unaryExpressionBuilder.h | 25 class UnaryExpressionBuilder : public AstBuilder<ir::UnaryExpression> { 41 UnaryExpression *Build() in Build()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | unaryExpression.cpp | 29 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 D | unaryExpression.h | 33 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 D | TSAnalyzer.h | 39 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 D | ETSAnalyzerHelpers.h | 53 void ProcessExclamationMark(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType); 54 void SetTsTypeForUnaryExpression(ETSChecker *checker, ir::UnaryExpression *expr, checker::Type *operandType);
|
H A D | checkerContext.h | 230 void CheckUnarySmartCastCondition(ir::UnaryExpression const *unaryExpression) noexcept;
|
H A D | TSAnalyzer.cpp | 937 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 D | TSchecker.h | 49 class UnaryExpression;
|
H A D | checkerContext.cpp | 291 void CheckerContext::CheckUnarySmartCastCondition(ir::UnaryExpression const *const unaryExpression) noexcept
|
H A D | ETSAnalyzerHelpers.cpp | 409 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 D | ETSAnalyzer.cpp | 1735 checker::Type *ETSAnalyzer::Check(ir::UnaryExpression *expr) const in Check()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsAsExpression.cpp | 57 const ir::UnaryExpression *unaryExpr = arg->AsUnaryExpression(); in IsValidConstAssertionArgument()
|
H A D | tsEnumDeclaration.cpp | 105 const ir::UnaryExpression *expr) in EvaluateUnaryExpression()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 148 _(UNARY_EXPRESSION, UnaryExpression) \
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | assignAnalyzer.h | 136 void AnalyzeUnaryExpr(const ir::UnaryExpression *unaryExpr);
|
H A D | assignAnalyzer.cpp | 1162 void AssignAnalyzer::AnalyzeUnaryExpr(const ir::UnaryExpression *unaryExpr) in AnalyzeUnaryExpr()
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 167 _(UNARY_EXPRESSION, UnaryExpression) \
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 50 class UnaryExpression;
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserExpressions.cpp | 265 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()
|
H A D | expressionParser.cpp | 2305 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | JSCompiler.cpp | 1106 void JSCompiler::Compile(const ir::UnaryExpression *expr) const in Compile()
|
H A D | ETSCompiler.cpp | 1213 void ETSCompiler::Compile(const ir::UnaryExpression *expr) const in Compile()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | expressionParser.cpp | 2437 returnExpr = AllocNode<ir::UnaryExpression>(argument, operatorType); in ParseUnaryOrPrefixUpdateExpression()
|