Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2016-present 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 | |
| 17 | package org.onosproject.yangutils.translator.tojava.utils; |
| 18 | |
| 19 | /** |
| 20 | * Represents different bracket types. |
| 21 | */ |
| 22 | enum BracketType { |
| 23 | |
| 24 | //Open close bracket '()'. |
| 25 | OPEN_CLOSE_BRACKET, |
| 26 | |
| 27 | //Open close bracket with value '(value)). |
| 28 | OPEN_CLOSE_BRACKET_WITH_VALUE, |
| 29 | |
| 30 | //Open close bracket with value '(String value)). |
| 31 | OPEN_CLOSE_BRACKET_WITH_VALUE_AND_RETURN_TYPE, |
| 32 | |
| 33 | //Open close bracket with value '(String value,. |
| 34 | OPEN_BRACKET_WITH_VALUE, |
| 35 | |
| 36 | //Open close bracket with value ',String value)). |
| 37 | CLOSE_BRACKET_WITH_VALUE, |
| 38 | |
| 39 | //Open close diamond bracket '<>'. |
| 40 | OPEN_CLOSE_DIAMOND, |
| 41 | |
| 42 | //Open close diamond bracket with value '<String>' |
| 43 | OPEN_CLOSE_DIAMOND_WITH_VALUE |
| 44 | } |