1# Copyright (c) 2021-2024 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14attributes: 15- name: access.field 16 type: enum 17 multiple: false 18 values: 19 - value: public 20 flags: [ACC_PUBLIC] 21 - value: protected 22 flags: [ACC_PROTECTED] 23 - value: private 24 flags: [ACC_PRIVATE] 25 applicable_to: 26 - field 27 28- name: access.function 29 type: enum 30 multiple: false 31 values: 32 - value: public 33 flags: [ACC_PUBLIC] 34 - value: protected 35 flags: [ACC_PROTECTED] 36 - value: private 37 flags: [ACC_PRIVATE] 38 applicable_to: 39 - function 40 41- name: access.record 42 type: enum 43 multiple: false 44 values: 45 - value: public 46 flags: [ACC_PUBLIC] 47 - value: protected 48 flags: [ACC_PROTECTED] 49 - value: private 50 flags: [ACC_PRIVATE] 51 applicable_to: 52 - record 53 54- name: extends 55 type: record 56 multiple: false 57 applicable_to: 58 - record 59 60- name: external 61 type: bool 62 applicable_to: 63 - record 64 - field 65 - function 66 67- name: native 68 type: bool 69 flags: [ACC_NATIVE] 70 applicable_to: 71 - function 72 73- name: noimpl 74 type: bool 75 flags: [ACC_ABSTRACT] 76 applicable_to: 77 - function 78 79- name: varargs 80 type: bool 81 flags: [ACC_VARARGS] 82 applicable_to: 83 - function 84 85- name: static 86 type: bool 87 flags: [ACC_STATIC] 88 applicable_to: 89 - field 90 - function 91 92- name: final 93 type: bool 94 flags: [ACC_FINAL] 95 applicable_to: 96 - record 97 - field 98 - function 99 100- name: volatile 101 type: bool 102 flags: [ACC_VOLATILE] 103 multiple: false 104 applicable_to: 105 - field 106 107- name: readonly 108 type: bool 109 flags: [ACC_READONLY] 110 multiple: false 111 applicable_to: 112 - field 113 114- name: ctor 115 type: bool 116 applicable_to: 117 - function 118 119- name: cctor 120 type: bool 121 applicable_to: 122 - function 123 124- name: value 125 type: any 126 multiple: false 127 applicable_to: 128 - field 129