All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openrewrite.python.tree.PyRightPadded Maven / Gradle / Ivy

There is a newer version: 1.24.4
Show newest version
/*
 * Copyright 2023 the original author or authors.
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

* https://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.openrewrite.python.tree; import lombok.Getter; import lombok.RequiredArgsConstructor; public class PyRightPadded { @Getter @RequiredArgsConstructor public enum Location { ASSERT_ELEMENT(PySpace.Location.ASSERT_ELEMENT_SUFFIX), COLLECTION_LITERAL_ELEMENT(PySpace.Location.COLLECTION_LITERAL_ELEMENT_SUFFIX), DEL_ELEMENT(PySpace.Location.DEL_ELEMENT_SUFFIX), DICT_ENTRY_KEY(PySpace.Location.DICT_ENTRY_KEY_SUFFIX), DICT_LITERAL_ELEMENT(PySpace.Location.DICT_LITERAL_ELEMENT_SUFFIX), FORMATTED_STRING_VALUE_DEBUG(PySpace.Location.FORMATTED_STRING_VALUE_DEBUG_SUFFIX), FORMATTED_STRING_VALUE_EXPRESSION(PySpace.Location.FORMATTED_STRING_VALUE_EXPRESSION_SUFFIX), KEY_VALUE_KEY_SUFFIX(PySpace.Location.KEY_VALUE_SUFFIX), MATCH_PATTERN_ELEMENT(PySpace.Location.MATCH_PATTERN_ELEMENT_SUFFIX), MULTI_IMPORT_FROM(PySpace.Location.MULTI_IMPORT_FROM_SUFFIX), MULTI_IMPORT_NAME(PySpace.Location.MULTI_IMPORT_NAME_SUFFIX), SLICE_EXPRESSION_START(PySpace.Location.SLICE_START_SUFFIX), SLICE_EXPRESSION_STEP(PySpace.Location.SLICE_STEP_SUFFIX), SLICE_EXPRESSION_STOP(PySpace.Location.SLICE_STOP_SUFFIX), TOP_LEVEL_STATEMENT_SUFFIX(PySpace.Location.TOP_LEVEL_STATEMENT), VARIABLE_SCOPE_ELEMENT(PySpace.Location.VARIABLE_SCOPE_NAME_SUFFIX), ; private final PySpace.Location afterLocation; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy