| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | variableDeclarator.cpp | 76 const ir::Expression *typeAnnotation = declarator->Id()->AsIdentifier()->TypeAnnotation(); in CheckSimpleVariableDeclaration() 135 …:ArrayDestructuringContext(checker, id_, false, id_->AsArrayPattern()->TypeAnnotation() == nullptr, in Check() 136 id_->AsArrayPattern()->TypeAnnotation(), init_) in Check() 145 …checker::ObjectDestructuringContext(checker, id_, false, id_->AsObjectPattern()->TypeAnnotation() … in Check() 146 id_->AsObjectPattern()->TypeAnnotation(), init_) in Check()
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | catchClause.cpp | 65 typeAnnotation = param_->AsIdentifier()->TypeAnnotation(); in Check() 67 typeAnnotation = param_->AsArrayPattern()->TypeAnnotation(); in Check() 70 typeAnnotation = param_->AsObjectPattern()->TypeAnnotation(); in Check()
|
| D | spreadElement.h | 47 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | classProperty.h | 74 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsIndexSignature.h | 54 const Expression *TypeAnnotation() const in TypeAnnotation() function 59 Expression *TypeAnnotation() in TypeAnnotation() function
|
| D | tsTypeAssertion.h | 39 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsAsExpression.h | 53 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsTypePredicate.h | 47 Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsPrivateIdentifier.h | 54 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsPropertySignature.h | 55 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsTypeAliasDeclaration.h | 61 const Expression *TypeAnnotation() const in TypeAnnotation() function
|
| D | tsMappedType.h | 51 Expression *TypeAnnotation() in TypeAnnotation() function
|
| D | tsIndexSignature.cpp | 27 …return param_->AsIdentifier()->TypeAnnotation()->IsTSNumberKeyword() ? TSIndexSignatureKind::NUMBER in Kind()
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | function.cpp | 128 if (!param->TypeAnnotation()) { in CheckFunctionIdentifierParameter() 136 param->TypeAnnotation()->Check(this); in CheckFunctionIdentifierParameter() 137 paramVar->SetTsType(param->TypeAnnotation()->AsTypeNode()->GetType(this)); in CheckFunctionIdentifierParameter() 214 if (paramIdent->TypeAnnotation()) { in CheckFunctionAssignmentPatternParameter() 215 paramIdent->TypeAnnotation()->Check(this); in CheckFunctionAssignmentPatternParameter() 216 Type *paramType = paramIdent->TypeAnnotation()->AsTypeNode()->GetType(this); in CheckFunctionAssignmentPatternParameter() 235 …ArrayDestructuringContext(this, arrayPattern, false, true, arrayPattern->TypeAnnotation(), param->… in CheckFunctionAssignmentPatternParameter() 241 …ext = ObjectDestructuringContext(this, objectPattern, false, true, objectPattern->TypeAnnotation(), in CheckFunctionAssignmentPatternParameter() 262 typeAnnotation = param->Argument()->AsIdentifier()->TypeAnnotation(); in CheckFunctionRestParameter() 266 typeAnnotation = param->Argument()->AsArrayPattern()->TypeAnnotation(); in CheckFunctionRestParameter() [all …]
|
| D | helpers.cpp | 343 if (declarator->Id()->AsIdentifier()->TypeAnnotation()) { in InferSimpleVariableDeclaratorType() 344 … var->SetTsType(declarator->Id()->AsIdentifier()->TypeAnnotation()->AsTypeNode()->GetType(this)); in InferSimpleVariableDeclaratorType() 396 …var->SetTsType(decl->Node()->AsTSPropertySignature()->TypeAnnotation()->AsTypeNode()->GetType(this… in GetTypeOfVariable() 415 if (ident->TypeAnnotation()) { in GetTypeOfVariable() 417 var->SetTsType(ident->TypeAnnotation()->AsTypeNode()->GetType(this)); in GetTypeOfVariable() 427 if (ident->TypeAnnotation()) { in GetTypeOfVariable() 429 var->SetTsType(ident->TypeAnnotation()->AsTypeNode()->GetType(this)); in GetTypeOfVariable() 492 resolvedType = declaration->TypeAnnotation()->AsTypeNode()->GetType(this); in GetTypeFromTypeAliasReference()
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | arrayExpression.h | 46 const Expression *TypeAnnotation() const in TypeAnnotation() function 51 Expression *TypeAnnotation() in TypeAnnotation() function
|
| D | objectExpression.h | 54 const Expression *TypeAnnotation() const in TypeAnnotation() function 59 Expression *TypeAnnotation() in TypeAnnotation() function
|
| D | identifier.h | 60 const Expression *TypeAnnotation() const in DEFINE_BITOPS() 65 Expression *TypeAnnotation() in DEFINE_BITOPS()
|
| /arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
| D | typeSystem.h | 712 int64_t typeIndex = extractor_->GetTypeIndexFromAnnotation(field->TypeAnnotation()); in FillField() 807 auto key = t->Param()->AsIdentifier()->TypeAnnotation(); in FillIndexSignatures() 809 extractor_->GetTypeIndexFromAnnotation(t->TypeAnnotation()); in FillIndexSignatures() 970 int64_t typeIndex = extractor_->GetTypeIndexFromAnnotation(field->TypeAnnotation()); in FillField() 1012 auto key = indexSignature->Param()->AsIdentifier()->TypeAnnotation(); in FillIndexSignature() 1014 extractor_->GetTypeIndexFromAnnotation(indexSignature->TypeAnnotation()); in FillIndexSignature() 1262 auto key = indexSignature->Param()->AsIdentifier()->TypeAnnotation(); in FillIndexSignature() 1264 extractor_->GetTypeIndexFromAnnotation(indexSignature->TypeAnnotation()); in FillIndexSignature() 1285 … int64_t typeIndex = extractor_->GetTypeIndexFromAnnotation(property->TypeAnnotation()); in FillMembers()
|
| D | typeExtractor.cpp | 466 auto typeNode = node->AsTSTypeAliasDeclaration()->TypeAnnotation(); in GetTypeIndexFromTypeAliasNode() 479 auto typeIndex = GetTypeIndexFromAnnotation(node->AsTSAsExpression()->TypeAnnotation()); in GetTypeIndexFromAsNode() 486 auto typeIndex = GetTypeIndexFromAnnotation(node->AsTSTypeAssertion()->TypeAnnotation()); in GetTypeIndexFromAssertionNode() 632 auto typeAnnotation = identifier->TypeAnnotation(); in GetTypeIndexFromIdentifier() 770 GetTypeIndexFromAnnotation(typeAliasDef->TypeAnnotation())); in HandleTypeAliasDeclaration() 774 GetTypeIndexFromAnnotation(typeAliasDef->TypeAnnotation())); in HandleTypeAliasDeclaration()
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | binder.cpp | 426 BuildTSSignatureDeclarationBaseParamsWithParent(ident, ident->TypeAnnotation()); in BuildVarDeclaratorId() 439 … BuildTSSignatureDeclarationBaseParamsWithParent(objPattern, objPattern->TypeAnnotation()); in BuildVarDeclaratorId() 449 … BuildTSSignatureDeclarationBaseParamsWithParent(arrayPattern, arrayPattern->TypeAnnotation()); in BuildVarDeclaratorId()
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | expressionParser.cpp | 670 if (lhsExpression->AsIdentifier()->TypeAnnotation() != nullptr) { in ValidateParenthesizedExpression() 679 if (lhsExpression->AsArrayExpression()->TypeAnnotation() != nullptr) { in ValidateParenthesizedExpression() 689 if (lhsExpression->AsObjectExpression()->TypeAnnotation() != nullptr) { in ValidateParenthesizedExpression()
|
| D | parserImpl.cpp | 2646 …indexSignature->SetRange({indexSignature->Param()->Start(), indexSignature->TypeAnnotation()->End(… in ParseClassElement()
|