Home
last modified time | relevance | path

Searched refs:nullish (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/base/
H A DoptionalChain.cpp48 auto *nullish = pg_->AllocLabel(); in CheckNullish() local
51 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
53 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
55 pg_->SetLabel(node_, nullish); in CheckNullish()
H A Ddestructuring.cpp220 auto *nullish = pg->AllocLabel(); in GenObject() local
223 pg->Condition(object, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, rhs, nullish); in GenObject()
225 pg->Condition(object, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, rhs, nullish); in GenObject()
228 pg->SetLabel(object, nullish); in GenObject()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DbinaryExpression.cpp64 auto *nullish = pg->AllocLabel(); in CompileLogical() local
66 pg->BranchIfStrictNull(this, nullish); in CompileLogical()
70 pg->SetLabel(this, nullish); in CompileLogical()
179 // TODO(Csaba Repasi): Implement checker for nullish coalescing in Check()
H A DassignmentExpression.cpp131 auto *nullish = pg->AllocLabel(); in Compile() local
132 pg->BranchIfStrictNull(left_, nullish); in Compile()
135 pg->SetLabel(left_, nullish); in Compile()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastDump.h100 Property(const char *key, Nullish nullish) : key_(key) in Property() argument
102 if (nullish.Node() != nullptr) { in Property()
103 value_ = nullish.Node(); in Property()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCreation.cpp481 auto *nullish = CreateETSUnionType({objType, GlobalETSNullType(), GlobalETSUndefinedType()}); in UpdateGlobalType() local
482 GetGlobalTypesHolder()->GlobalTypes()[static_cast<size_t>(GlobalTypeId::ETS_NULLISH_OBJECT)] = nullish; in UpdateGlobalType()
483 nullish = CreateETSUnionType({GlobalETSNullType(), GlobalETSUndefinedType()}); in UpdateGlobalType()
484 GetGlobalTypesHolder()->GlobalTypes()[static_cast<size_t>(GlobalTypeId::ETS_NULLISH_TYPE)] = nullish; in UpdateGlobalType()

Completed in 4 milliseconds