Vinod Kumar S | 13139e9 | 2016-02-05 20:21:19 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2016 Open Networking Laboratory |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | package org.onosproject.yangutils.parser; |
| 17 | |
| 18 | /** |
| 19 | * ENUM to represent the type of data in parse tree. |
| 20 | */ |
| 21 | public enum ParsableDataType { |
| 22 | /** |
| 23 | * Identifies the module parsed data. |
| 24 | */ |
| 25 | MODULE_DATA, |
| 26 | |
| 27 | /** |
| 28 | * Identifies the sub module parsed data. |
| 29 | */ |
| 30 | SUB_MODULE_DATA, |
| 31 | |
| 32 | /** |
| 33 | * Identifies the typedef parsed data. |
| 34 | */ |
| 35 | TYPEDEF_DATA, |
| 36 | |
| 37 | /** |
| 38 | * Identifies the type parsed data. |
| 39 | */ |
| 40 | TYPE_DATA, |
| 41 | |
| 42 | /** |
| 43 | * Identifies the choice parsed data. |
| 44 | */ |
| 45 | CHOICE_DATA, |
| 46 | |
| 47 | /** |
| 48 | * Identifies the case parsed data. |
| 49 | */ |
| 50 | CASE_DATA, |
| 51 | |
| 52 | /** |
| 53 | * Identifies the YANG enumeration parsed data. |
| 54 | */ |
| 55 | ENUMERATION_DATA, |
| 56 | |
| 57 | /** |
| 58 | * Identifies the grouping parsed data. |
| 59 | */ |
| 60 | GROUPING_DATA, |
| 61 | |
| 62 | /** |
| 63 | * Identifies the uses parsed data. |
| 64 | */ |
| 65 | USES_DATA, |
| 66 | |
| 67 | /** |
| 68 | * Identifies the augment parsed data. |
| 69 | */ |
| 70 | AUGMENT_DATA, |
| 71 | |
| 72 | /** |
| 73 | * Identifies the container parsed data. |
| 74 | */ |
| 75 | CONTAINER_DATA, |
| 76 | |
| 77 | /** |
| 78 | * Identifies the YANG list parsed data. |
| 79 | */ |
| 80 | LIST_DATA, |
| 81 | |
| 82 | /** |
| 83 | * Identifies the YANG belongs-to parsed data. |
| 84 | */ |
| 85 | BELONGS_TO_DATA, |
| 86 | |
| 87 | /** |
| 88 | * Identifies the YANG bit parsed data. |
| 89 | */ |
| 90 | BIT_DATA, |
| 91 | |
| 92 | /** |
| 93 | * Identifies the YANG bits parsed data. |
| 94 | */ |
| 95 | BITS_DATA, |
| 96 | |
| 97 | /** |
| 98 | * Identifies the YANG enum parsed data. |
| 99 | */ |
| 100 | ENUM_DATA, |
| 101 | |
| 102 | /** |
| 103 | * Identifies the YANG import parsed data. |
| 104 | */ |
| 105 | IMPORT_DATA, |
| 106 | |
| 107 | /** |
| 108 | * Identifies the YANG include parsed data. |
| 109 | */ |
| 110 | INCLUDE_DATA, |
| 111 | |
| 112 | /** |
| 113 | * Identifies the YANG leaf parsed data. |
| 114 | */ |
| 115 | LEAF_DATA, |
| 116 | |
| 117 | /** |
| 118 | * Identifies the YANG leaf list parsed data. |
| 119 | */ |
| 120 | LEAF_LIST_DATA, |
| 121 | |
| 122 | /** |
| 123 | * Identifies the YANG must parsed data. |
| 124 | */ |
| 125 | MUST_DATA, |
| 126 | |
| 127 | /** |
| 128 | * Identifies the YANG revision parsed data. |
| 129 | */ |
| 130 | REVISION_DATA, |
| 131 | |
| 132 | /** |
| 133 | * Identifies the YANG namespace parsed data. |
| 134 | */ |
| 135 | NAMESPACE_DATA |
| 136 | } |