• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 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 
16 #ifndef PANDA_RUNTIME_INCLUDE_CLASS_ROOT_H_
17 #define PANDA_RUNTIME_INCLUDE_CLASS_ROOT_H_
18 
19 namespace panda {
20 
21 enum class ClassRoot {
22     V = 0,
23     U1,
24     I8,
25     U8,
26     I16,
27     U16,
28     I32,
29     U32,
30     I64,
31     U64,
32     F32,
33     F64,
34     TAGGED,
35     ARRAY_U1,
36     ARRAY_I8,
37     ARRAY_U8,
38     ARRAY_I16,
39     ARRAY_U16,
40     ARRAY_I32,
41     ARRAY_U32,
42     ARRAY_I64,
43     ARRAY_U64,
44     ARRAY_F32,
45     ARRAY_F64,
46     ARRAY_TAGGED,
47     CLASS,
48     OBJECT,
49     STRING,
50     ARRAY_CLASS,
51     ARRAY_STRING,
52     LAST_CLASS_ROOT_ENTRY = ARRAY_STRING  // Must be the last in this enum
53 };
54 
55 }  // namespace panda
56 
57 #endif  // PANDA_RUNTIME_INCLUDE_CLASS_ROOT_H_
58