• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef PANDA_RUNTIME_CLASS_ROOT_H_
16 #define PANDA_RUNTIME_CLASS_ROOT_H_
17 
18 namespace panda {
19 
20 enum class ClassRoot {
21     V = 0,
22     U1,
23     I8,
24     U8,
25     I16,
26     U16,
27     I32,
28     U32,
29     I64,
30     U64,
31     F32,
32     F64,
33     TAGGED,
34     ARRAY_U1,
35     ARRAY_I8,
36     ARRAY_U8,
37     ARRAY_I16,
38     ARRAY_U16,
39     ARRAY_I32,
40     ARRAY_U32,
41     ARRAY_I64,
42     ARRAY_U64,
43     ARRAY_F32,
44     ARRAY_F64,
45     ARRAY_TAGGED,
46     CLASS,
47     OBJECT,
48     STRING,
49     ARRAY_CLASS,
50     ARRAY_STRING,
51     LAST_CLASS_ROOT_ENTRY = ARRAY_STRING  // Must be the last in this enum
52 };
53 
54 }  // namespace panda
55 
56 #endif  // PANDA_RUNTIME_CLASS_ROOT_H_
57