/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | declFileTypeAnnotationVisibilityErrorAccessors.ts | 34 // getter with annotation 39 // getter without annotation 46 // setter with annotation 50 // Both - getter without annotation, setter with annotation 59 // Both - with annotation 66 // getter with annotation 71 // getter without annotation 78 // setter with annotation 82 // Both - getter without annotation, setter with annotation 91 // Both - with annotation [all …]
|
D | ambientDeclarations.ts | 21 // Ambient letiable without type annotation 25 // Ambient letiable with type annotation
|
D | callSignatureWithoutAnnotationsOrBody.ts | 21 // Call signatures without a return type annotation and function body return 'any'
|
D | genericTypeAssertions3.ts | 29 return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertio…
|
/arkcompiler/runtime_core/docs/ |
D | assembly_format.md | 81 * All keys are unique within a single annotation list. 160 | `java.annotation` | Used to specify that the record represents Java annotation. | 161 | `java.annotation.type` | Used to specify type of annotation. Possible values: `class`, `runtime`.… 162 …va.annotation.class` | Used to specify annotation class. Allowed multiple definitions. Value is th… 163 …annotation.id` | Used to specify annotation id. Annotations with id are used as values of other an… 164 …annotation.element.name` | Used to specify name of the annotation element. `java.annotation.class`… 165 …annotation.element.type` | Used to specify type of the annotation element. `java.annotation.elemen… 166 …annotation.element.array.component.type` | Used to specify component type of the array annotation … 167 ….annotation.element.value` | Used to specify value of the annotation element. Allowed multiple def… 183 .record A1 <java.annotation, java.annotation.type=runtime> {} [all …]
|
D | file_format.md | 179 | `ACC_ANNOTATION` | `0x2000` | Declared as an annotation type. | 294 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 295 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 296 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 297 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 363 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 366 …ANNOTATION` | `0x06` | `>=0` | `uint8_t[4]` | Data represents the offset to… 368 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 369 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 405 …annotation of the class. The tag may be repeated in case the class has several annotations. The of… [all …]
|
D | cfi_directives.md | 14 ## Bridges annotation 23 From `CFI` perspective, annotation of `prolog` and `epilog` is needed.
|
D | coding-style.md | 29 case 41: // No annotation needed here.
|
/arkcompiler/runtime_core/assembler/tests/ |
D | ecmascript_meta_test.cpp | 44 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation"); 50 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… 52 EXPECT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value"); 59 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation"); 61 EXPECT_EQ(result6->GetMessage(), "Attribute 'ecmascript.annotation' already defined"); 78 rmd.SetAttribute("ecmascript.annotation"); 81 EXPECT_TRUE(rmd.GetAttribute("ecmascript.annotation")); 87 rmd.RemoveAttribute("ecmascript.annotation"); 88 EXPECT_FALSE(rmd.GetAttribute("ecmascript.annotation")); 97 rmd.SetAttribute("ecmascript.annotation"); [all …]
|
D | annotation_test.cpp | 18 #include "annotation.h" 19 #include "annotation.cpp" 134 type_u1 = Value::GetTypeAsChar(panda::pandasm::Value::Type::ANNOTATION); 222 type_u1 = Value::GetArrayTypeAsChar(panda::pandasm::Value::Type::ANNOTATION); 288 EXPECT_EQ(panda::pandasm::Value::Type::ANNOTATION, type); 351 EXPECT_EQ(panda::pandasm::Value::Type::ANNOTATION, type); 428 type = "annotation"; 429 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::ANNOTATION); 517 …ScalarValue insn_order_anno(ScalarValue::Create<panda::pandasm::Value::Type::ANNOTATION>(annotatio…
|
/arkcompiler/runtime_core/plugins/ecmascript/tests/ |
D | ecmascript_meta_test.cpp | 33 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation"); 39 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… 41 ASSERT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value"); 48 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation"); 50 ASSERT_EQ(result6->GetMessage(), "Attribute 'ecmascript.annotation' already defined"); 58 rmd.SetAttribute("ecmascript.annotation"); 61 ASSERT_TRUE(rmd.GetAttribute("ecmascript.annotation")); 67 rmd.RemoveAttribute("ecmascript.annotation"); 68 ASSERT_FALSE(rmd.GetAttribute("ecmascript.annotation"));
|
/arkcompiler/runtime_core/assembler/ |
D | meta.cpp | 56 {"class", VType::RECORD}, {"enum", VType::ENUM}, {"annotation", VType::ANNOTATION}, in GetType() 198 case Value::Type::ANNOTATION: { 201 … return Unexpected(Metadata::Error("Unknown annotation id", Metadata::Error::Type::INVALID_VALUE)); 205 return ScalarValue::Create<Value::Type::ANNOTATION>(*annotation_value); 240 "'. Annotation element isn't completely defined", in Store() 256 "'. Annotation element isn't completely defined", in MeetExpRecordAttribute() 270 "'. Annotation record attribute must be defined first", in MeetExpIdAttribute() 276 "'. Annotation id attribute already defined", in MeetExpIdAttribute() 290 "'. Annotation record attribute must be defined first", in MeetExpElementNameAttribute() 296 "'. Previous annotation element isn't defined completely", in MeetExpElementNameAttribute() [all …]
|
D | annotation.cpp | 16 #include "annotation.h" 95 case Value::Type::ANNOTATION: { in InitScalarValue() 97 ScalarValue::Create<Value::Type::ANNOTATION>(sc_val.GetValue<AnnotationData>())); in InitScalarValue() 134 case Value::Type::ANNOTATION: in making_value() 238 case Value::Type::ANNOTATION: in TypeToString() 239 return "annotation"; in TypeToString()
|
D | annotation.h | 93 ANNOTATION, enumerator 150 case Type::ANNOTATION: in GetTypeAsChar() 224 case Type::ANNOTATION: in GetArrayTypeAsChar() 287 type = Type::ANNOTATION; in GetCharAsType() 358 type = Type::ANNOTATION; in GetCharAsArrayType() 438 std::conditional_t<value_type == Value::Type::ANNOTATION, AnnotationData,
|
/arkcompiler/runtime_core/assembler/extensions/ |
D | ecmascript_meta.cpp | 22 if (attribute == "ecmascript.annotation") { in Validate() 24 return Error("Attribute 'ecmascript.annotation' already defined", in Validate() 48 if (attribute == "ecmascript.annotation") { in Validate() 49 return Error("Attribute 'ecmascript.annotation' must not have a value", in Validate() 88 if (attribute == "ecmascript.annotation") { in SetFlags() 101 if (attribute == "ecmascript.annotation") { in RemoveFlags()
|
/arkcompiler/runtime_core/libpandafile/ |
D | field_data_accessor-inl.h | 155 …numerateTaggedValues<File::EntityId, FieldTag, Callback>(annotations_sp_, FieldTag::ANNOTATION, cb, in EnumerateAnnotations() 171 … FieldTag::ANNOTATION, cb, &type_annotations_sp_); in EnumerateRuntimeTypeAnnotations() 186 …ateTaggedValues<File::EntityId, FieldTag, Callback>(type_annotations_sp_, FieldTag::ANNOTATION, cb, in EnumerateTypeAnnotations() 219 … FieldTag::ANNOTATION, cb); in EnumerateAnnotationsWithEarlyStop()
|
D | file_items.h | 45 ANNOTATION = 0x04, enumerator 58 ANNOTATION = 0x06, enumerator 69 ANNOTATION = 0x04, enumerator 523 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 525 annotations_.push_back(annotation); in AddAnnotation() 803 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 805 annotations_.push_back(annotation); in AddAnnotation() 884 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 886 annotations_.push_back(annotation); in AddAnnotation() 1051 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument [all …]
|
D | class_data_accessor-inl.h | 110 …numerateTaggedValues<File::EntityId, ClassTag, Callback>(annotations_sp_, ClassTag::ANNOTATION, cb, in EnumerateAnnotations() 133 … ClassTag::ANNOTATION, cb); in EnumerateAnnotationsWithEarlyStop()
|
D | file_items.cpp | 353 for (auto annotation : annotations_) { in WriteAnnotations() local 354 if (!WriteIdTaggedValue(writer, ClassTag::ANNOTATION, annotation)) { in WriteAnnotations() 691 for (auto annotation : annotations_) { in WriteTaggedData() local 692 if (!WriteIdTaggedValue(writer, MethodTag::ANNOTATION, annotation)) { in WriteTaggedData() 1340 for (auto annotation : annotations_) { in WriteAnnotations() local 1341 if (!WriteIdTaggedValue(writer, FieldTag::ANNOTATION, annotation)) { in WriteAnnotations()
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | test-interface7-expected.txt | 1 SyntaxError: An index signature must have a type annotation. [test-interface7.ts:17:15]
|
D | test-type-literal7-expected.txt | 1 SyntaxError: An index signature must have a type annotation. [test-type-literal7.ts:17:10]
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | metaProto.cpp | 136 … auto *annotation = allocator->New<panda::pandasm::AnnotationData>(protoAnnotation.recordname()); in Deserialize() local 137 AnnotationData::Deserialize(protoAnnotation, *annotation, allocator); in Deserialize() 138 annotations.emplace_back(std::move(*annotation)); in Deserialize()
|
D | annotationProto.h | 19 #include "annotation.pb.h"
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsSignatureDeclaration.cpp | 72 …"Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", Start(… in Check() 76 …"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.", S… in Check()
|
/arkcompiler/ets_frontend/merge_abc/protos/ |
D | meta.proto | 19 import "annotation.proto";
|