Home
last modified time | relevance | path

Searched full:annotation (Results 1 – 25 of 60) sorted by relevance

123

/arkcompiler/runtime_core/docs/
Dassembly_format.md81 * 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…
163annotation.id` | Used to specify annotation id. Annotations with id are used as values of other an…
164annotation.element.name` | Used to specify name of the annotation element. `java.annotation.class`…
165annotation.element.type` | Used to specify type of the annotation element. `java.annotation.elemen…
166annotation.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 …]
Dfile_format.md179 | `ACC_ANNOTATION` | `0x2000` | Declared as an annotation type. |
294annotation of the field. The tag may be repeated in case the field has several annotations. The of…
295annotation of the field. The tag may be repeated in case the field has several annotations. The of…
296annotation of the field. The tag may be repeated in case the field has several annotations. The of…
297annotation of the field. The tag may be repeated in case the field has several annotations. The of…
363annotation of the method. The tag may be repeated in case the method has several annotations. The …
366ANNOTATION` | `0x06` | `>=0` | `uint8_t[4]` | Data represents the offset to…
368annotation of the method. The tag may be repeated in case the method has several annotations. The …
369annotation of the method. The tag may be repeated in case the method has several annotations. The …
405annotation of the class. The tag may be repeated in case the class has several annotations. The of…
[all …]
Dcfi_directives.md14 ## Bridges annotation
23 From `CFI` perspective, annotation of `prolog` and `epilog` is needed.
Dcoding-style.md29 case 41: // No annotation needed here.
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp33 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/
Dmeta.cpp56 {"class", VType::RECORD}, {"enum", VType::ENUM}, {"annotation", VType::ANNOTATION}, in GetType()
199 case Value::Type::ANNOTATION: {
202 … return Unexpected(Metadata::Error("Unknown annotation id", Metadata::Error::Type::INVALID_VALUE));
206 return ScalarValue::Create<Value::Type::ANNOTATION>(*annotation_value);
242 "'. Annotation element isn't completely defined", in Store()
258 "'. Annotation element isn't completely defined", in MeetExpRecordAttribute()
272 "'. Annotation record attribute must be defined first", in MeetExpIdAttribute()
278 "'. Annotation id attribute already defined", in MeetExpIdAttribute()
292 "'. Annotation record attribute must be defined first", in MeetExpElementNameAttribute()
298 "'. Previous annotation element isn't defined completely", in MeetExpElementNameAttribute()
[all …]
Dannotation.cpp16 #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()
Dannotation.h93 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,
DCMakeLists.txt37 annotation.cpp
/arkcompiler/runtime_core/plugins/ecmascript/assembler/extension/
Decmascript_meta.cpp22 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()
Dmetadata.yaml17 - name: annotation
/arkcompiler/runtime_core/libpandafile/
Dfield_data_accessor-inl.h155 …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()
Dfile_items.h45 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 …]
Dclass_data_accessor-inl.h110 …numerateTaggedValues<File::EntityId, ClassTag, Callback>(annotations_sp_, ClassTag::ANNOTATION, cb, in EnumerateAnnotations()
133 … ClassTag::ANNOTATION, cb); in EnumerateAnnotationsWithEarlyStop()
Dfile_items.cpp353 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/
Dtest-interface7-expected.txt1 SyntaxError: An index signature must have a type annotation. [test-interface7.ts:17:15]
Dtest-type-literal7-expected.txt1 SyntaxError: An index signature must have a type annotation. [test-type-literal7.ts:17:10]
/arkcompiler/ets_frontend/merge_abc/src/
DmetaProto.cpp136 … 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()
DannotationProto.h19 #include "annotation.pb.h"
DannotationProto.cpp120 case panda::pandasm::Value::Type::ANNOTATION: { in Serialize()
238 case panda::pandasm::Value::Type::ANNOTATION: { in CreateScalarValue()
239 return panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::ANNOTATION>( in CreateScalarValue()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsSignatureDeclaration.cpp73 …"Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", Start(… in Check()
77 …"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.", S… in Check()
DtsMethodSignature.cpp75 …"Method signature, which lacks return-type annotation, implicitly has an 'any' return type.", Star… in Check()
/arkcompiler/ets_frontend/merge_abc/protos/
Dmeta.proto19 import "annotation.proto";
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dbcopt_type_adaption_test.cpp96 AnnotationData annotation(TSTYPE_ANNO_RECORD_NAME); in SetTypeAnnotationForFunc() local
97 annotation.AddElement(std::move(anno_element)); in SetTypeAnnotationForFunc()
99 annos.emplace_back(std::move(annotation)); in SetTypeAnnotationForFunc()
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md179 ANNOTATION,

123