Home
last modified time | relevance | path

Searched full:checkercontext (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/core/
DcheckerContext.h35 class CheckerContext { in DEFINE_BITOPS()
37 explicit CheckerContext(CheckerStatus newStatus) : status_(newStatus) {} in DEFINE_BITOPS()
49 DEFAULT_COPY_SEMANTIC(CheckerContext); in DEFINE_BITOPS()
50 DEFAULT_MOVE_SEMANTIC(CheckerContext); in DEFINE_BITOPS()
51 ~CheckerContext() = default; in DEFINE_BITOPS()
/arkcompiler/ets_frontend/ets2panda/checker/
DcheckerContext.cpp20 CheckerContext::CheckerContext(Checker *checker, CheckerStatus newStatus, ETSObjectType const *cont… in CheckerContext() function in ark::es2panda::checker::CheckerContext
33 void CheckerContext::SetSmartCast(varbinder::Variable const *const variable, checker::Type *const s… in SetSmartCast()
41 SmartCastTypes CheckerContext::CloneTestSmartCasts(bool const clearData) noexcept in CloneTestSmartCasts()
63 SmartCastArray CheckerContext::CloneSmartCasts(bool const clearData) noexcept in CloneSmartCasts()
82 void CheckerContext::RestoreSmartCasts(SmartCastArray const &otherSmartCasts) in RestoreSmartCasts()
92 void CheckerContext::RemoveSmartCasts(SmartCastArray const &otherSmartCasts) noexcept in RemoveSmartCasts()
110 checker::Type *CheckerContext::CombineTypes(checker::Type *const typeOne, checker::Type *const type… in CombineTypes()
122 void CheckerContext::CombineSmartCasts(SmartCastArray const &otherSmartCasts) in CombineSmartCasts()
147 std::pair<SmartCastArray, bool> CheckerContext::EnterLoop(const ir::LoopStatement &loop, in EnterLoop()
196 void CheckerContext::ExitLoop(SmartCastArray &prevSmartCasts, bool const clearFlag, in ExitLoop()
[all …]
DcheckerContext.h120 class CheckerContext final {
122 …explicit CheckerContext(Checker *checker, CheckerStatus newStatus) : CheckerContext(checker, newSt…
124 …explicit CheckerContext(Checker *checker, CheckerStatus newStatus, const ETSObjectType *containing…
125 : CheckerContext(checker, newStatus, containingClass, nullptr)
129 …explicit CheckerContext(Checker *checker, CheckerStatus newStatus, const ETSObjectType *containing…
132 CheckerContext() = delete;
133 ~CheckerContext() = default;
135 DEFAULT_COPY_SEMANTIC(CheckerContext);
136 DEFAULT_MOVE_SEMANTIC(CheckerContext);
298 explicit SavedCheckerContextStatus(CheckerContext *context, CheckerStatus status)
[all …]
Dchecker.h19 #include "checker/checkerContext.h"
82 [[nodiscard]] CheckerContext &Context() noexcept in Context()
247 CheckerContext context_;
406 … checker_->context_ = CheckerContext(checker, newStatus, containingClass, containingSignature); in SavedCheckerContext()
423 CheckerContext prev_;
Dchecker.cpp180 context_ = CheckerContext(this, CheckerStatus::NO_OPTS); in CleanUp()
DETSAnalyzer.cpp1478 // Restore CheckerContext of the owner class if we want to perform checking
3686 …auto checkerContext = SavedCheckerContext(checker, CheckerStatus::NO_OPTS, checker->Context().Cont… in Check() local
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h23 #include <typescript/core/checkerContext.h>
260 CheckerContext Context() const in Context()
482 CheckerContext context_;
525 checker_->context_ = CheckerContext(newStatus); in SavedCheckerContext()
538 CheckerContext prev_;
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DunaryExpression.h19 #include "checker/checkerContext.h"
DbinaryExpression.h19 #include "checker/checkerContext.h"
DmemberExpression.h19 #include "checker/checkerContext.h"
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin_conversion_rule/
Dplugin_conversion_rule_part_iv.cpp69 … return reinterpret_cast<es2panda_CheckerContext *>(ctxAllocator->New<checker::CheckerContext> in TEST_F()
84 auto apiRes = IrToE2pCheckerStatus((reinterpret_cast<const checker::CheckerContext *> in TEST_F()
105 New<checker::CheckerContext>(checkerE2p, newStatusE2p)); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dhelpers.cpp1185 checker::Type *CheckerContext::GetUnionOfTypes(checker::Type *const type1, checker::Type *const typ… in GetUnionOfTypes()
1219 checker::Type *CheckerContext::GetIntersectionOfTypes(checker::Type *const type1, in GetIntersectionOfTypes()
1262 void CheckerContext::MergeSmartTypesForLogicalAnd(SmartCastTuple &newSmartCastTypes) in MergeSmartTypesForLogicalAnd()
1280 void CheckerContext::InvalidateNecessarySmartCastsInLogicalAnd(std::optional<SmartCastTuple> &newSm… in InvalidateNecessarySmartCastsInLogicalAnd()
1327 ReassignedVariableMap CheckerContext::GetReassignedVariablesInNode(const ir::AstNode *const node) c… in GetReassignedVariablesInNode()
1334 void CheckerContext::CheckTestSmartCastCondition(lexer::TokenType operatorType) in CheckTestSmartCastCondition()
1365 std::optional<SmartCastTuple> CheckerContext::ResolveSmartCastTypes() in ResolveSmartCastTypes()
1452 bool CheckerContext::CheckTestOrSmartCastCondition(SmartCastTuple const &types) in CheckTestOrSmartCastCondition()
/arkcompiler/ets_frontend/ets2panda/public/
DcppToCTypes.yaml2986 name: 'CheckerContext'
2998 reinterpret_cast<checker::CheckerContext |es2panda_arg.type.ptr_depth|>(|arg_name|);
3009 (reinterpret_cast<?const? checker::CheckerContext *>(classInstance))->
3012 ctxAllocator->New<checker::CheckerContext>(
3019 name: 'CheckerContext'
3031 *(reinterpret_cast<checker::CheckerContext *>(|arg_name|));
3035 New<checker::CheckerContext>
DCMakeLists.txt285 ${ES2PANDA_ROOT}/checker/checkerContext.h
557 ${LIBGEN_DIR}/gen/headers/checker/checkerContext.yaml
Des2panda_lib.rb1265 CheckerContext
/arkcompiler/ets_frontend/ets2panda/
DBUILD.gn78 "checker/checkerContext.cpp",
774 "checker/checkerContext.h",
1043 "$LIBGEN_DIR/gen/headers/checker/checkerContext.yaml",
DCMakeLists.txt529 checker/checkerContext.cpp