| /ark/runtime_core/assembler/ |
| D | meta.cpp | 56 {"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); 241 "'. Annotation element isn't completely defined", in Store() 257 "'. Annotation element isn't completely defined", in MeetExpRecordAttribute() 271 "'. Annotation record attribute must be defined first", in MeetExpIdAttribute() 277 "'. Annotation id attribute already defined", in MeetExpIdAttribute() 291 "'. Annotation record attribute must be defined first", in MeetExpElementNameAttribute() 297 "'. Previous annotation element isn't defined completely", in MeetExpElementNameAttribute() [all …]
|
| D | annotation.cpp | 16 #include "annotation.h" 96 case Value::Type::ANNOTATION: { in InitScalarValue() 98 ScalarValue::Create<Value::Type::ANNOTATION>(sc_val.GetValue<AnnotationData>())); in InitScalarValue() 130 case Value::Type::ANNOTATION: { in making_value() 233 case Value::Type::ANNOTATION: in TypeToString() 234 return "annotation"; in TypeToString()
|
| D | annotation.h | 90 ANNOTATION, enumerator 147 case Type::ANNOTATION: in GetTypeAsChar() 220 case Type::ANNOTATION: in GetArrayTypeAsChar() 285 type = Type::ANNOTATION; in GetCharAsType() 358 type = Type::ANNOTATION; in GetCharAsArrayType() 439 std::conditional_t<value_type == Value::Type::ANNOTATION, AnnotationData,
|
| D | assembly-emitter.cpp | 142 case Value::Type::ANNOTATION: in CheckValueType() 151 if (value_type == Value::Type::ANNOTATION && !record.metadata->IsAnnotation() && in CheckValueType() 154 SetLastError("Record " + type.GetName() + " isn't annotation"); in CheckValueType() 470 auto annotation = value->GetAsScalar()->GetValue<AnnotationData>(); in CreateScalarAnnotationValueItem() local 471 …auto *annotation_item = CreateAnnotationItem(container, annotation, program, classes, fields, meth… in CreateScalarAnnotationValueItem() 525 case Value::Type::ANNOTATION: { in CreateScalarValueItem() 563 …nItem *AsmEmitter::CreateAnnotationItem(ItemContainer *container, const AnnotationData &annotation, in CreateAnnotationItem() argument 569 auto record_name = annotation.GetName(); in CreateAnnotationItem() 578 SetLastError("Record " + record_name + " isn't annotation"); in CreateAnnotationItem() 585 for (const auto &element : annotation.GetElements()) { in CreateAnnotationItem() [all …]
|
| D | BUILD.gn | 29 "annotation.cpp",
|
| D | CMakeLists.txt | 37 annotation.cpp
|
| /ark/runtime_core/docs/ |
| D | file_format.md | 185 | `ACC_ANNOTATION` | `0x2000` | Declared as an annotation type. | 315 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 316 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 317 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 318 …annotation of the field. The tag may be repeated in case the field has several annotations. The of… 383 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 386 …ANNOTATION` | `0x06` | `>=0` | `uint8_t[4]` | Data represents the offset to… 388 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 389 …annotation of the method. The tag may be repeated in case the method has several annotations. The … 426 …annotation of the class. The tag may be repeated in case the class has several annotations. The of… [all …]
|
| D | cfi_directives.md | 10 ## Bridges annotation 19 From `CFI` perspective, annotation of `prolog` and `epilog` is needed.
|
| D | coding-style.md | 27 case 41: // No annotation needed here.
|
| /ark/runtime_core/libpandafile/ |
| D | file_items.h | 43 ANNOTATION = 0x04, enumerator 56 ANNOTATION = 0x06, enumerator 67 ANNOTATION = 0x04, enumerator 425 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 427 annotations_.push_back(annotation); in AddAnnotation() 682 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 684 annotations_.push_back(annotation); in AddAnnotation() 762 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument 764 annotations_.push_back(annotation); in AddAnnotation() 927 void AddAnnotation(AnnotationItem *annotation) in AddAnnotation() argument [all …]
|
| D | file_items.cpp | 233 for (auto annotation : annotations_) { in WriteAnnotations() local 234 if (!WriteIdTaggedValue(writer, ClassTag::ANNOTATION, annotation)) { in WriteAnnotations() 569 for (auto annotation : annotations_) { in WriteTaggedData() local 570 if (!WriteIdTaggedValue(writer, MethodTag::ANNOTATION, annotation)) { in WriteTaggedData() 1206 for (auto annotation : annotations_) { in WriteAnnotations() local 1207 if (!WriteIdTaggedValue(writer, FieldTag::ANNOTATION, annotation)) { in WriteAnnotations()
|
| D | class_data_accessor-inl.h | 100 …numerateTaggedValues<File::EntityId, ClassTag, Callback>(annotations_sp_, ClassTag::ANNOTATION, cb, in EnumerateAnnotations()
|
| D | field_data_accessor-inl.h | 130 …teTaggedValues<File::EntityId, FieldTag, Callback>(annotations_sp_, FieldTag::ANNOTATION, cb, &sp); in EnumerateAnnotations()
|
| D | method_data_accessor-inl.h | 143 …merateTaggedValues<File::EntityId, MethodTag, Callback>(annotations_sp_, MethodTag::ANNOTATION, cb, in EnumerateAnnotations()
|
| /ark/runtime_core/assembler/extensions/ecmascript/ |
| D | metadata.yaml | 17 - name: annotation
|
| /ark/runtime_core/tests/cts-generator/cts-template/ |
| D | lenarr.yaml | 34 .record A <java.annotation, java.annotation.type=runtime> {}
|
| D | isinstance.yaml | 28 .record A <java.annotation, java.annotation.type=runtime> {}
|
| D | checkcast.yaml | 29 .record A <java.annotation, java.annotation.type=runtime> {}
|
| D | newobj.yaml | 20 .record A <java.annotation, java.annotation.type=runtime> {}
|
| D | lda.type.yaml | 22 .record A <java.annotation, java.annotation.type=runtime> {}
|
| D | newarr.yaml | 40 .record A <java.annotation, java.annotation.type=runtime> {}
|
| /ark/ts2abc/ts2panda/scripts/ |
| D | diagnosticMessages.json | 394 "The left-hand side of a 'for...in' statement cannot use a type annotation.": { 410 "The left-hand side of a 'for...of' statement cannot use a type annotation.": {
|
| /ark/runtime_core/verification/job_queue/ |
| D | cache.h | 232 ANNOTATION, enumerator 249 … FlagsForEnum<unsigned int, Flag, Flag::DYNAMIC_CLASS, Flag::PUBLIC, Flag::FINAL, Flag::ANNOTATION,
|
| /ark/runtime_core/libpandafile/tests/ |
| D | file_item_container_test.cpp | 200 // Add runtime annotation in TEST() 208 // Add annotation in TEST() 278 // Annotation is the same as the runtime one, so we deduplicate it in TEST()
|
| /ark/runtime_core/disassembler/ |
| D | disassembler.cpp | 750 return "annotation"; in AnnotationTagToString() 786 return "annotation[]"; in AnnotationTagToString() 838 } else if (type == "annotation") { in ScalarValueToString() 893 } else if (type == "annotation") { in ArrayValueToString()
|