Home
last modified time | relevance | path

Searched defs:typeAnnotation (Results 1 – 25 of 89) sorted by relevance

1234

/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTypes.cpp101 auto *const typeAnnotation = AllocNode<ir::ETSPrimitiveType>(type, Allocator()); in ParsePrimitiveType() local
117 auto typeAnnotation = ParseTypeAnnotation(&options); in ParseUnionType() local
133 ir::TypeNode *typeAnnotation = nullptr; in GetTypeAnnotationOfPrimitiveType() local
306 auto typeAnnotation = ParseFunctionType(options); in ParsePotentialFunctionalType() local
320 auto typeAnnotation = ParseLiteralIdent(options); in GetTypeAnnotationFromToken() local
330 auto typeAnnotation = AllocNode<ir::ETSNullType>(Allocator()); in GetTypeAnnotationFromToken() local
337 auto typeAnnotation = AllocNode<ir::ETSUndefinedType>(Allocator()); in GetTypeAnnotationFromToken() local
344 …auto typeAnnotation = AllocNode<ir::ETSStringLiteralType>(Lexer()->GetToken().String(), Allocator(… in GetTypeAnnotationFromToken() local
383 ir::TypeNode *typeAnnotation = ParsePotentialFunctionalType(options); in GetTypeAnnotationFromParentheses() local
541 auto typeAnnotation = ParseTypeAnnotationNoPreferParam(options); in ParseTypeAnnotation() local
[all …]
DTSparser.cpp221 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAliasDeclaration() local
276 ir::TypeNode *typeAnnotation = nullptr; in ParseTypeAnnotation() local
809 ir::TypeNode *typeAnnotation = nullptr; in ParseMappedType() local
862 ir::TypeNode *typeAnnotation = nullptr; in ParseTypePredicate() local
887 ir::TypeNode *TSParser::ParseTypeLiteralOrMappedType(ir::TypeNode *typeAnnotation) in ParseTypeLiteralOrMappedType()
910 ir::TypeNode *TSParser::ParseTypeReferenceOrTypePredicate(ir::TypeNode *typeAnnotation, bool canBeT… in ParseTypeReferenceOrTypePredicate()
923 ir::TypeNode *TSParser::ParseThisTypeOrTypePredicate(ir::TypeNode *typeAnnotation, bool canBeTsType… in ParseThisTypeOrTypePredicate()
1145 ir::TypeNode *typeAnnotation = ParseBasicTypeHelper::GetTypeAnnotation(this, Lexer()); in ParseBasicType() local
1154 ir::TypeNode *TSParser::ParseParenthesizedOrFunctionType(ir::TypeNode *typeAnnotation, bool throwEr… in ParseParenthesizedOrFunctionType()
1273 …::TypeNode *ParseKeywordTokens(TSParser *parser, lexer::Lexer *lexer, ir::TypeNode *typeAnnotation, in ParseKeywordTokens()
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.h35 const ir::Expression *typeAnnotation, const ir::Expression *initializer) in DestructuringContext()
91const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ArrayDestructuringContext()
115const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ObjectDestructuringContext()
/arkcompiler/ets_frontend/ets2panda/ir/base/
DclassProperty.h40 …licit ClassProperty(Expression *const key, Expression *const value, TypeNode *const typeAnnotation, in ClassProperty()
63 void SetTypeAnnotation(TypeNode *typeAnnotation) noexcept in SetTypeAnnotation()
DtsPropertySignature.cpp30 if (auto *const typeAnnotation = TypeAnnotation(); typeAnnotation != nullptr) { in TransformChildren() local
85 auto *const typeAnnotation = TypeAnnotation()->Clone(allocator, nullptr); in Clone() local
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
DetsTupleBuilder.h32 ETSTupleBuilder &AddTypeAnnotation(TypeNode *typeAnnotation) in AddTypeAnnotation()
DtsTypeAssertionBuilder.h35 TSTypeAssertionBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
DtsTypeAliasDeclarationBuilder.h41 TSTypeAliasDeclarationBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
DtsAsExpressionBuilder.h35 TSAsExpressionBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
DtsIndexSignatureBuilder.h35 TSIndexSignatureBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
DtsTypePredicateBuilder.h35 TSTypePredicateBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
DtsMappedTypeBuilder.h35 TSMappedTypeBuilder &SetTypeAnnotation(TypeNode *typeAnnotation) in SetTypeAnnotation()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeAssertion.h24 explicit TSTypeAssertion(TypeNode *typeAnnotation, Expression *expression) in TSTypeAssertion()
DtsAsExpression.cpp45 if (auto *typeAnnotation = TypeAnnotation(); typeAnnotation != nullptr) { in TransformChildren() local
96 auto *typeAnnotation = TypeAnnotation(); in Clone() local
DtsTypePredicate.h24 explicit TSTypePredicate(Expression *parameterName, TypeNode *typeAnnotation, bool asserts, in TSTypePredicate()
DtsAsExpression.h38 explicit TSAsExpression(Expression *expression, TypeNode *typeAnnotation, bool isConst) in TSAsExpression()
DtsMappedType.h25 …explicit TSMappedType(TSTypeParameter *typeParameter, TypeNode *typeAnnotation, MappedOption reado… in TSMappedType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsSatisfiesExpression.h35 explicit TSSatisfiesExpression(Expression *expression, Expression *typeAnnotation) in TSSatisfiesExpression()
DtsTypeAssertion.h34 explicit TSTypeAssertion(Expression *typeAnnotation, Expression *expression) in TSTypeAssertion()
DtsTypePredicate.h34 explicit TSTypePredicate(Expression *parameterName, Expression *typeAnnotation, bool asserts) in TSTypePredicate()
DtsAsExpression.h35 explicit TSAsExpression(Expression *expression, Expression *typeAnnotation, bool isConst) in TSAsExpression()
DtsPrivateIdentifier.h34 explicit TSPrivateIdentifier(Expression *key, Expression *value, Expression *typeAnnotation) in TSPrivateIdentifier()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DresizableArrayLowering.cpp28 ir::TypeNode *typeAnnotation = in ConvertToResizableArrayType() local
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DprivateIdentifier.h40 explicit PrivateIdentifier(util::StringView name, Expression *typeAnnotation) in PrivateIdentifier()
/arkcompiler/ets_frontend/es2panda/ir/
Dexpression.h50 virtual void SetTsTypeAnnotation([[maybe_unused]] Expression *typeAnnotation) in SetTsTypeAnnotation()

1234