Home
last modified time | relevance | path

Searched refs:TSOperatorType (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTypeOperator.h34 explicit TSTypeOperator(Expression *type, TSOperatorType operatorType) in TSTypeOperator()
46 return operatorType_ == TSOperatorType::READONLY; in IsReadonly()
51 return operatorType_ == TSOperatorType::KEYOF; in IsKeyof()
56 return operatorType_ == TSOperatorType::UNIQUE; in IsUnique()
68 TSOperatorType operatorType_;
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeOperator.h24 explicit TSTypeOperator(TypeNode *type, TSOperatorType operatorType) in TSTypeOperator()
36 return operatorType_ == TSOperatorType::READONLY; in IsReadonly()
41 return operatorType_ == TSOperatorType::KEYOF; in IsKeyof()
46 return operatorType_ == TSOperatorType::UNIQUE; in IsUnique()
66 TSOperatorType operatorType_;
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.cpp69 const char *AstDumper::TypeOperatorToString(TSOperatorType operatorType) in TypeOperatorToString()
71 if (operatorType == TSOperatorType::KEYOF) { in TypeOperatorToString()
75 if (operatorType == TSOperatorType::READONLY) { in TypeOperatorToString()
79 if (operatorType == TSOperatorType::UNIQUE) { in TypeOperatorToString()
DastDump.h157 static const char *TypeOperatorToString(TSOperatorType operatorType);
DastNode.h101 enum class TSOperatorType { READONLY, KEYOF, UNIQUE }; enum
/arkcompiler/ets_frontend/ets2panda/ir/
DastDump.cpp62 const char *AstDumper::TypeOperatorToString(TSOperatorType operatorType) in TypeOperatorToString()
64 if (operatorType == TSOperatorType::KEYOF) { in TypeOperatorToString()
68 if (operatorType == TSOperatorType::READONLY) { in TypeOperatorToString()
72 if (operatorType == TSOperatorType::UNIQUE) { in TypeOperatorToString()
DastNodeFlags.h88 enum class TSOperatorType { READONLY, KEYOF, UNIQUE }; enum
DastDump.h198 static const char *TypeOperatorToString(TSOperatorType operatorType);
/arkcompiler/ets_frontend/ets2panda/parser/
DTSparser.cpp707 auto *typeOperator = AllocNode<ir::TSTypeOperator>(type, ir::TSOperatorType::READONLY); in ParseTypeOperatorOrTypeReference()
720 auto *typeOperator = AllocNode<ir::TSTypeOperator>(type, ir::TSOperatorType::KEYOF); in ParseTypeOperatorOrTypeReference()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp841 auto *typeOperator = AllocNode<ir::TSTypeOperator>(type, ir::TSOperatorType::READONLY); in ParseTsTypeOperatorOrTypeReference()
856 auto *typeOperator = AllocNode<ir::TSTypeOperator>(type, ir::TSOperatorType::KEYOF); in ParseTsTypeOperatorOrTypeReference()
870 auto *typeOperator = AllocNode<ir::TSTypeOperator>(type, ir::TSOperatorType::UNIQUE); in ParseTsTypeOperatorOrTypeReference()