Index
All Classes and Interfaces|All Packages
A
- accept(Path) - Method in class org.openrewrite.python.PythonParser
- accept(TreeVisitor<R, P>, P) - Method in interface org.openrewrite.python.tree.Py
- acceptPython(PythonVisitor<P>, P) - Method in interface org.openrewrite.python.tree.Py
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.AssertStatement
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.AwaitExpression
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Condition
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.DelStatement
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.DictLiteral
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ExceptionType
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.KeyValue
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.MatchCase
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.NamedArgument
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.PassStatement
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.SpecialArgument
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.SpecialParameter
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.TypeHint
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.TypeHintedExpression
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement
- acceptPython(PythonVisitor<P>, P) - Method in class org.openrewrite.python.tree.Py.YieldExpression
- addComment(String) - Method in class org.openrewrite.python.tree.PySpace.SpaceBuilder
- addWhitespace(String) - Method in class org.openrewrite.python.tree.PySpace.SpaceBuilder
- advance() - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- AFTER_DECORATOR - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
The method and class models don't support right-padding of decorators.
- AFTER_STATEMENT - Enum constant in enum class org.openrewrite.python.tree.PySpace.IndentStartMode
- afterSyntax(J, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- afterSyntax(Markers, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- appendComment(Space, String) - Static method in class org.openrewrite.python.tree.PySpace
- appendWhitespace(Space, String) - Static method in class org.openrewrite.python.tree.PySpace
- ARGS - Enum constant in enum class org.openrewrite.python.tree.Py.SpecialArgument.Kind
- ARGS - Enum constant in enum class org.openrewrite.python.tree.Py.SpecialParameter.Kind
- AS - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- ASSERT_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- ASSERT_ELEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- ASSERT_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- Assertions - Class in org.openrewrite.python
- AssertStatement() - Constructor for class org.openrewrite.python.tree.Py.AssertStatement
- AWAIT_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- AwaitExpression() - Constructor for class org.openrewrite.python.tree.Py.AwaitExpression
B
- BEFORE_COMPOUND_BLOCK_COLON - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
if someCondition⇒ pass
- BlockContext() - Constructor for class org.openrewrite.python.internal.PsiPythonMapper.BlockContext
- build() - Method in class org.openrewrite.python.PythonParser.Builder
- build() - Method in class org.openrewrite.python.tree.PySpace.SpaceBuilder
- builder() - Static method in class org.openrewrite.python.PythonParser
- Builder() - Constructor for class org.openrewrite.python.PythonParser.Builder
- BuiltinDesugar - Class in org.openrewrite.python.marker
- BuiltinDesugar() - Constructor for class org.openrewrite.python.marker.BuiltinDesugar
C
- CAPTURE - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- ChangeMethodName - Class in org.openrewrite.python
- ChangeMethodName() - Constructor for class org.openrewrite.python.ChangeMethodName
- CLASS - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- Clause() - Constructor for class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause
- CollectIntelliJDependencies - Class in org.openrewrite.python.internal
-
See `python-plugin/README.md`.
- CollectIntelliJDependencies() - Constructor for class org.openrewrite.python.internal.CollectIntelliJDependencies
- CollectIntelliJDependenciesAsm - Class in org.openrewrite.python.internal
- CollectIntelliJDependenciesAsm() - Constructor for class org.openrewrite.python.internal.CollectIntelliJDependenciesAsm
- CompilationUnit() - Constructor for class org.openrewrite.python.tree.Py.CompilationUnit
- COMPREHENSION_CLAUSE_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- COMPREHENSION_CONDITION_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- COMPREHENSION_IN - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- COMPREHENSION_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- COMPREHENSION_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- ComprehensionExpression() - Constructor for class org.openrewrite.python.tree.Py.ComprehensionExpression
- Condition() - Constructor for class org.openrewrite.python.tree.Py.ComprehensionExpression.Condition
- consume() - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- consumeExpectingType(Class<T>) - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- consumeRemaining() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeRemainingAndExpect(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeRemainingAndExpectEOF() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilExpectedNewline() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilExpectedWhitespace(String) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilFound(String) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilFoundOrRollback(String, Function<Space, T>) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilFoundWithStatus(String) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilNewline() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilNewlineOrRollback() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilNewlineOrRollback(Function<Space, T>) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeUntilNewlineWithStatus() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- consumeWhitespace() - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- containsIndex(int) - Method in class org.openrewrite.python.marker.GroupedStatement.StatementGroup
- current() - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
D
- deindent(Space, String, PySpace.IndentStartMode, PySpace.IndentEndMode) - Static method in class org.openrewrite.python.tree.PySpace
- DEL_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- DEL_ELEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DEL_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DelStatement() - Constructor for class org.openrewrite.python.tree.Py.DelStatement
- DICT - Enum constant in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
- DICT_ENTRY - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DICT_ENTRY_KEY - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- DICT_ENTRY_KEY_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DICT_LITERAL_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- DICT_LITERAL_ELEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DICT_LITERAL_ELEMENTS - Enum constant in enum class org.openrewrite.python.tree.PyContainer.Location
- DICT_LITERAL_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- DictLiteral() - Constructor for class org.openrewrite.python.tree.Py.DictLiteral
- doesMagicMethodReverseOperands(String) - Static method in class org.openrewrite.python.internal.PythonOperatorLookup
- DOUBLE_STAR - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
E
- elementsBetween(PsiElement, PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
- ELSE_WRAPPER_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- EMPTY_INITIALIZER - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Some Python containers (like dict literals) can have space between the initialization delimiters but lack the space for it in the model.
- ERROR_FROM - Enum constant in enum class org.openrewrite.python.tree.PyLeftPadded.Location
- ERROR_FROM_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- ERROR_FROM_SOURCE - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- ErrorFromExpression() - Constructor for class org.openrewrite.python.tree.Py.ErrorFromExpression
- EXCEPTION_TYPE_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- ExceptionType() - Constructor for class org.openrewrite.python.tree.Py.ExceptionType
- expectEOF() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- expectNext(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- ExpressionStatement(Expression) - Constructor for class org.openrewrite.python.tree.Py.ExpressionStatement
F
- findChildToken(PsiElement, PyElementType) - Static method in class org.openrewrite.python.internal.PsiUtils
- findCurrentStatementGroup(List<JRightPadded<T>>, int) - Static method in class org.openrewrite.python.marker.GroupedStatement
- findFirstChildToken(PsiElement, PyElementType, PyElementType...) - Static method in class org.openrewrite.python.internal.PsiUtils
- findLeadingSpaceInTree(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
-
Finds the space immediately preceding the element in the document text.
- findPreviousSiblingToken(PsiElement, PyElementType) - Static method in class org.openrewrite.python.internal.PsiUtils
- FindPythonSources - Class in org.openrewrite.python.search
- FindPythonSources() - Constructor for class org.openrewrite.python.search.FindPythonSources
- findSpaceEnd(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
- findSpaceStart(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
G
- GENERATOR - Enum constant in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
- get(Tree, PythonExtraPadding.Location) - Static method in class org.openrewrite.python.marker.PythonExtraPadding
- getAfterLocation() - Method in enum class org.openrewrite.python.tree.PyRightPadded.Location
- getBeforeLocation() - Method in enum class org.openrewrite.python.tree.PyContainer.Location
- getBeforeLocation() - Method in enum class org.openrewrite.python.tree.PyLeftPadded.Location
- getCharset() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getChildren() - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern
- getChildren() - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern.Padding
- getClasses() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getComments() - Method in interface org.openrewrite.python.tree.Py
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.AssertStatement
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.AwaitExpression
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.DelStatement
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.DictLiteral
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.KeyValue
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.MatchCase
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.NamedArgument
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.PassStatement
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.SpecialArgument
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.TypeHintedExpression
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement
- getCoordinates() - Method in class org.openrewrite.python.tree.Py.YieldExpression
- getDescription() - Method in class org.openrewrite.python.ChangeMethodName
- getDescription() - Method in class org.openrewrite.python.format.PythonSpaces
- getDescription() - Method in class org.openrewrite.python.search.FindPythonSources
- getDisplayName() - Method in class org.openrewrite.python.ChangeMethodName
- getDisplayName() - Method in class org.openrewrite.python.format.PythonSpaces
- getDisplayName() - Method in class org.openrewrite.python.search.FindPythonSources
- getDslName() - Method in class org.openrewrite.python.PythonParser.Builder
- getElementLocation() - Method in enum class org.openrewrite.python.tree.PyContainer.Location
- getElements() - Method in class org.openrewrite.python.tree.Py.DictLiteral
- getElements() - Method in class org.openrewrite.python.tree.Py.DictLiteral.Padding
- getElseBlock() - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper
- getElseBlock() - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper.Padding
- getExpressions() - Method in class org.openrewrite.python.tree.Py.AssertStatement
- getExpressions() - Method in class org.openrewrite.python.tree.Py.AssertStatement.Padding
- getExpressions() - Method in class org.openrewrite.python.tree.Py.YieldExpression
- getExpressions() - Method in class org.openrewrite.python.tree.Py.YieldExpression.Padding
- getFrom() - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression
- getFrom() - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression.Padding
- getFrom() - Method in class org.openrewrite.python.tree.Py.YieldExpression.Padding
- getGroupId(JRightPadded<T>) - Static method in class org.openrewrite.python.marker.GroupedStatement
- getGroupId(Statement) - Static method in class org.openrewrite.python.marker.GroupedStatement
- getGuard() - Method in class org.openrewrite.python.tree.Py.MatchCase
- getGuard() - Method in class org.openrewrite.python.tree.Py.MatchCase.Padding
- getImports() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getImports() - Method in class org.openrewrite.python.tree.Py.CompilationUnit.Padding
- getIteratedList() - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause
- getIteratedList() - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause.Padding
- getKey() - Method in class org.openrewrite.python.tree.Py.KeyValue
- getKey() - Method in class org.openrewrite.python.tree.Py.KeyValue.Padding
- getLanguage() - Method in class org.openrewrite.python.PythonVisitor
- getMarkers() - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- getNames() - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement
- getNames() - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement.Padding
- getOrDefault(Tree, PythonExtraPadding.Location) - Static method in class org.openrewrite.python.marker.PythonExtraPadding
- getPackageDeclaration() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getPadding() - Method in class org.openrewrite.python.tree.Py.AssertStatement
- getPadding() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getPadding() - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause
- getPadding() - Method in class org.openrewrite.python.tree.Py.DelStatement
- getPadding() - Method in class org.openrewrite.python.tree.Py.DictLiteral
- getPadding() - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression
- getPadding() - Method in class org.openrewrite.python.tree.Py.KeyValue
- getPadding() - Method in class org.openrewrite.python.tree.Py.MatchCase
- getPadding() - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern
- getPadding() - Method in class org.openrewrite.python.tree.Py.NamedArgument
- getPadding() - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper
- getPadding() - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement
- getPadding() - Method in class org.openrewrite.python.tree.Py.YieldExpression
- getPrefix() - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- getPrefix() - Method in interface org.openrewrite.python.tree.Py
- getStatements() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getStatements() - Method in class org.openrewrite.python.tree.Py.CompilationUnit.Padding
- getTargets() - Method in class org.openrewrite.python.tree.Py.DelStatement
- getTargets() - Method in class org.openrewrite.python.tree.Py.DelStatement.Padding
- getType() - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- getTypesInUse() - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- getValue() - Method in class org.openrewrite.python.tree.Py.NamedArgument.Padding
- getVisitor() - Method in class org.openrewrite.python.ChangeMethodName
- getVisitor() - Method in class org.openrewrite.python.format.PythonSpaces
- getVisitor() - Method in class org.openrewrite.python.search.FindPythonSources
- GLOBAL - Enum constant in enum class org.openrewrite.python.tree.Py.VariableScopeStatement.Kind
- GROUP - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- GroupedStatement - Class in org.openrewrite.python.marker
- GroupedStatement() - Constructor for class org.openrewrite.python.marker.GroupedStatement
- GroupedStatement.StatementGroup<T extends org.openrewrite.java.tree.Statement> - Class in org.openrewrite.python.marker
I
- ImplicitNone - Class in org.openrewrite.python.marker
-
In some contexts, the Python `None` literal is optional and can be inferred from empty expressions.
- ImplicitNone() - Constructor for class org.openrewrite.python.marker.ImplicitNone
- IMPORT_PARENS_PREFIX - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Imports can optionally be wrapped in parens.
- IMPORT_PARENS_SUFFIX - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Imports can optionally be wrapped in parens.
- ImportParens - Class in org.openrewrite.python.marker
- ImportParens() - Constructor for class org.openrewrite.python.marker.ImportParens
- IntelliJUtils - Class in org.openrewrite.python.internal
- IntelliJUtils() - Constructor for class org.openrewrite.python.internal.IntelliJUtils
- IntelliJUtils.PsiPrinter - Class in org.openrewrite.python.internal
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.python.PythonVisitor
- isAcceptable(TreeVisitor<?, P>, P) - Method in interface org.openrewrite.python.tree.Py
- isFrom() - Method in class org.openrewrite.python.tree.Py.YieldExpression
- isHiddenElement(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
- isLeafToken(PsiElement, PyElementType) - Static method in class org.openrewrite.python.internal.PsiUtils
- isMultiline() - Method in class org.openrewrite.python.tree.PyComment
- isPast(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- isPastEnd() - Method in class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- isWhitespaceOrComment(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
K
- KEY_VALUE - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- KEY_VALUE_KEY_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- KEY_VALUE_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- KEY_VALUE_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- KeyValue() - Constructor for class org.openrewrite.python.tree.Py.KeyValue
- KEYWORD - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- KWARGS - Enum constant in enum class org.openrewrite.python.tree.Py.SpecialArgument.Kind
- KWARGS - Enum constant in enum class org.openrewrite.python.tree.Py.SpecialParameter.Kind
L
- LINE_START - Enum constant in enum class org.openrewrite.python.tree.PySpace.IndentStartMode
- LIST - Enum constant in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
- LITERAL - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- logCompilationWarningsAndErrors(boolean) - Method in class org.openrewrite.python.PythonParser.Builder
M
- MagicMethodDesugar - Class in org.openrewrite.python.marker
-
In Python, many operators are actually syntax sugar for method calls.
- MagicMethodDesugar() - Constructor for class org.openrewrite.python.marker.MagicMethodDesugar
- main(String[]) - Static method in class org.openrewrite.python.internal.CollectIntelliJDependencies
- main(String[]) - Static method in class org.openrewrite.python.internal.CollectIntelliJDependenciesAsm
- mapArgumentList(PyArgumentList) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapAssertStatement(PyAssertStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapAssignmentExpression(PyAssignmentExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapAssignmentStatement(PyAssignmentStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapAugAssignmentStatement(PyAugAssignmentStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBinaryExpression(PyBinaryExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBinaryExpressionAsMagicMethod(PyBinaryExpression, String) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBinaryExpressionAsOperator(PyBinaryExpression, J.Binary.Type) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBlock(PsiElement, PsiElement, List<T>, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBlock(PsiElement, PsiElement, List<T>, PsiPythonMapper.BlockContext, BiFunction<T, PsiPythonMapper.BlockContext, List<? extends Statement>>) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapBooleanLiteral(PyBoolLiteralExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapCallExpression(PyCallExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapClassDeclarationStatement(PyClass, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapCompoundBlock(PyStatementListContainer, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
-
Maps the statement list of a Python "compound block" as a J.Block.
- mapComprehensionElement(PyComprehensionElement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapDecorator(PyDecorator) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapDecoratorList(PyDecoratorList, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapDelStatement(PyDelStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapExpression(PsiElement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapExpressionStatement(PyExpressionStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapFile(PyFile, Path, String, boolean) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapIdentifier(PsiNamedElement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapIfStatement(PyIfStatement, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapNoneLiteral(PyNoneLiteralExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapNumericLiteral(PyNumericLiteralExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapPassStatement(PyPassStatement) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- MAPPING - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- mapReferenceExpression(PyReferenceExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapSliceExpression(PySliceExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapSource(String, Path, String, boolean) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapStatement(PsiElement, PsiPythonMapper.BlockContext) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapStringLiteral(PyStringLiteralExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapSubscription(PySubscriptionExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- mapTargetExpression(PyTargetExpression) - Method in class org.openrewrite.python.internal.PsiPythonMapper
- MATCH_CASE_GUARD - Enum constant in enum class org.openrewrite.python.tree.PyLeftPadded.Location
- MATCH_CASE_GUARD - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- MATCH_CASE_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- MATCH_PATTERN_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- MATCH_PATTERN_ELEMENT_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- MATCH_PATTERN_ELEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- MATCH_PATTERN_ELEMENTS - Enum constant in enum class org.openrewrite.python.tree.PyContainer.Location
- MATCH_PATTERN_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- MatchCase() - Constructor for class org.openrewrite.python.tree.Py.MatchCase
- matchesTokenSequence(PsiElement, PyElementType...) - Static method in class org.openrewrite.python.internal.PsiUtils
- maybeFindChildToken(PsiElement, PyElementType) - Static method in class org.openrewrite.python.internal.PsiUtils
- maybeFindFirstChildToken(PsiElement, PyElementType, PyElementType...) - Static method in class org.openrewrite.python.internal.PsiUtils
- maybeFindPreviousSiblingToken(PsiElement, PyElementType) - Static method in class org.openrewrite.python.internal.PsiUtils
- mergeSpace(PsiElement, PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
N
- NAMED_ARGUMENT - Enum constant in enum class org.openrewrite.python.tree.PyLeftPadded.Location
- NAMED_ARGUMENT - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- NAMED_ARGUMENT_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- NamedArgument() - Constructor for class org.openrewrite.python.tree.Py.NamedArgument
- nextSiblingSkipWhitespace(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
- nextStatementPrefix() - Method in class org.openrewrite.python.internal.PsiPythonMapper.BlockContext
- nextStatementPrefix(PsiElement) - Method in class org.openrewrite.python.internal.PsiPythonMapper.BlockContext
- NONLOCAL - Enum constant in enum class org.openrewrite.python.tree.Py.VariableScopeStatement.Kind
O
- offsetInFile() - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- operatorForMagicMethod(String) - Static method in class org.openrewrite.python.internal.PythonOperatorLookup
- OR - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- org.openrewrite.python - package org.openrewrite.python
- org.openrewrite.python.format - package org.openrewrite.python.format
- org.openrewrite.python.internal - package org.openrewrite.python.internal
- org.openrewrite.python.marker - package org.openrewrite.python.marker
- org.openrewrite.python.search - package org.openrewrite.python.search
- org.openrewrite.python.table - package org.openrewrite.python.table
- org.openrewrite.python.tree - package org.openrewrite.python.tree
P
- Padding() - Constructor for class org.openrewrite.python.tree.Py.AssertStatement.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.CompilationUnit.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.DelStatement.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.DictLiteral.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.ErrorFromExpression.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.KeyValue.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.MatchCase.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.MatchCase.Pattern.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.NamedArgument.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.TrailingElseWrapper.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.VariableScopeStatement.Padding
- Padding() - Constructor for class org.openrewrite.python.tree.Py.YieldExpression.Padding
- parse(String...) - Method in class org.openrewrite.python.PythonParser
- parseInputs(Iterable<Parser.Input>, Path, ExecutionContext) - Method in class org.openrewrite.python.PythonParser
- parsePythonSource(String, String) - Static method in class org.openrewrite.python.internal.IntelliJUtils
- PASS_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- PassStatement() - Constructor for class org.openrewrite.python.tree.Py.PassStatement
- Pattern() - Constructor for class org.openrewrite.python.tree.Py.MatchCase.Pattern
- PlainText - Enum constant in enum class org.openrewrite.python.table.PythonSourceFile.SourceFileType
- print(ASTNode) - Method in class org.openrewrite.python.internal.IntelliJUtils.PsiPrinter
- printComment(Cursor, PrintOutputCapture<P>) - Method in class org.openrewrite.python.tree.PyComment
- printer(Cursor) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- PsiElementCursor(PsiElement, PsiElement) - Constructor for class org.openrewrite.python.internal.PsiUtils.PsiElementCursor
- PsiPaddingCursor - Class in org.openrewrite.python.internal
- PsiPaddingCursor(PsiFile) - Constructor for class org.openrewrite.python.internal.PsiPaddingCursor
- PsiPaddingCursor.WithStatus<T> - Class in org.openrewrite.python.internal
- PsiPrinter() - Constructor for class org.openrewrite.python.internal.IntelliJUtils.PsiPrinter
- PsiPythonMapper - Class in org.openrewrite.python.internal
- PsiPythonMapper() - Constructor for class org.openrewrite.python.internal.PsiPythonMapper
- PsiPythonMapper.BlockContext - Class in org.openrewrite.python.internal
- PsiUtils - Class in org.openrewrite.python.internal
- PsiUtils.PsiElementCursor - Class in org.openrewrite.python.internal
- Py - Interface in org.openrewrite.python.tree
- Py.AssertStatement - Class in org.openrewrite.python.tree
- Py.AssertStatement.Padding - Class in org.openrewrite.python.tree
- Py.AwaitExpression - Class in org.openrewrite.python.tree
- Py.CompilationUnit - Class in org.openrewrite.python.tree
- Py.CompilationUnit.Padding - Class in org.openrewrite.python.tree
- Py.ComprehensionExpression - Class in org.openrewrite.python.tree
- Py.ComprehensionExpression.Clause - Class in org.openrewrite.python.tree
- Py.ComprehensionExpression.Clause.Padding - Class in org.openrewrite.python.tree
- Py.ComprehensionExpression.Condition - Class in org.openrewrite.python.tree
- Py.ComprehensionExpression.Kind - Enum Class in org.openrewrite.python.tree
- Py.DelStatement - Class in org.openrewrite.python.tree
- Py.DelStatement.Padding - Class in org.openrewrite.python.tree
- Py.DictLiteral - Class in org.openrewrite.python.tree
- Py.DictLiteral.Padding - Class in org.openrewrite.python.tree
- Py.ErrorFromExpression - Class in org.openrewrite.python.tree
- Py.ErrorFromExpression.Padding - Class in org.openrewrite.python.tree
- Py.ExceptionType - Class in org.openrewrite.python.tree
- Py.ExpressionStatement - Class in org.openrewrite.python.tree
- Py.KeyValue - Class in org.openrewrite.python.tree
- Py.KeyValue.Padding - Class in org.openrewrite.python.tree
- Py.MatchCase - Class in org.openrewrite.python.tree
- Py.MatchCase.Padding - Class in org.openrewrite.python.tree
- Py.MatchCase.Pattern - Class in org.openrewrite.python.tree
- Py.MatchCase.Pattern.Kind - Enum Class in org.openrewrite.python.tree
- Py.MatchCase.Pattern.Padding - Class in org.openrewrite.python.tree
- Py.NamedArgument - Class in org.openrewrite.python.tree
- Py.NamedArgument.Padding - Class in org.openrewrite.python.tree
- Py.PassStatement - Class in org.openrewrite.python.tree
- Py.SpecialArgument - Class in org.openrewrite.python.tree
- Py.SpecialArgument.Kind - Enum Class in org.openrewrite.python.tree
- Py.SpecialParameter - Class in org.openrewrite.python.tree
- Py.SpecialParameter.Kind - Enum Class in org.openrewrite.python.tree
- Py.TrailingElseWrapper - Class in org.openrewrite.python.tree
- Py.TrailingElseWrapper.Padding - Class in org.openrewrite.python.tree
- Py.TypeHint - Class in org.openrewrite.python.tree
- Py.TypeHint.Kind - Enum Class in org.openrewrite.python.tree
- Py.TypeHintedExpression - Class in org.openrewrite.python.tree
- Py.VariableScopeStatement - Class in org.openrewrite.python.tree
- Py.VariableScopeStatement.Kind - Enum Class in org.openrewrite.python.tree
- Py.VariableScopeStatement.Padding - Class in org.openrewrite.python.tree
- Py.YieldExpression - Class in org.openrewrite.python.tree
- Py.YieldExpression.Padding - Class in org.openrewrite.python.tree
- PyComment - Class in org.openrewrite.python.tree
- PyComment() - Constructor for class org.openrewrite.python.tree.PyComment
- PyContainer - Class in org.openrewrite.python.tree
- PyContainer() - Constructor for class org.openrewrite.python.tree.PyContainer
- PyContainer.Location - Enum Class in org.openrewrite.python.tree
- PyLeftPadded - Class in org.openrewrite.python.tree
- PyLeftPadded() - Constructor for class org.openrewrite.python.tree.PyLeftPadded
- PyLeftPadded.Location - Enum Class in org.openrewrite.python.tree
- PyRightPadded - Class in org.openrewrite.python.tree
- PyRightPadded() - Constructor for class org.openrewrite.python.tree.PyRightPadded
- PyRightPadded.Location - Enum Class in org.openrewrite.python.tree
- PySpace - Class in org.openrewrite.python.tree
- PySpace.IndentEndMode - Enum Class in org.openrewrite.python.tree
- PySpace.IndentStartMode - Enum Class in org.openrewrite.python.tree
- PySpace.Location - Enum Class in org.openrewrite.python.tree
- PySpace.SpaceBuilder - Class in org.openrewrite.python.tree
- python(String) - Static method in class org.openrewrite.python.Assertions
- python(String, String) - Static method in class org.openrewrite.python.Assertions
- python(String, String, Consumer<SourceSpec<Py.CompilationUnit>>) - Static method in class org.openrewrite.python.Assertions
- python(String, Consumer<SourceSpec<Py.CompilationUnit>>) - Static method in class org.openrewrite.python.Assertions
- Python - Enum constant in enum class org.openrewrite.python.table.PythonSourceFile.SourceFileType
- PythonExtraPadding - Class in org.openrewrite.python.marker
-
For use as a last resort when Python elements semantically fit into the `J` scheme, but lack the fields to store the necessary padding.
- PythonExtraPadding() - Constructor for class org.openrewrite.python.marker.PythonExtraPadding
- PythonExtraPadding.Location - Enum Class in org.openrewrite.python.marker
- PythonIsoVisitor<P> - Class in org.openrewrite.python
- PythonIsoVisitor() - Constructor for class org.openrewrite.python.PythonIsoVisitor
- PythonOperatorLookup - Class in org.openrewrite.python.internal
- PythonParser - Class in org.openrewrite.python
- PythonParser() - Constructor for class org.openrewrite.python.PythonParser
- PythonParser.Builder - Class in org.openrewrite.python
- PythonParserVisitor - Class in org.openrewrite.python.internal
- PythonParserVisitor(Path, FileAttributes, EncodingDetectingInputStream, JavaTypeCache, ExecutionContext) - Constructor for class org.openrewrite.python.internal.PythonParserVisitor
- PythonPrinter<P> - Class in org.openrewrite.python.internal
- PythonPrinter() - Constructor for class org.openrewrite.python.internal.PythonPrinter
- PythonPrinterAdapter<TTree extends org.openrewrite.java.tree.J,
TLoc, TLeftLoc, TRtLoc, TContLoc, P> - Class in org.openrewrite.python.internal - PythonPrinterAdapter() - Constructor for class org.openrewrite.python.internal.PythonPrinterAdapter
- PythonSourceFile - Class in org.openrewrite.python.table
- PythonSourceFile(Recipe) - Constructor for class org.openrewrite.python.table.PythonSourceFile
- PythonSourceFile.Row - Class in org.openrewrite.python.table
- PythonSourceFile.SourceFileType - Enum Class in org.openrewrite.python.table
- PythonSpaces - Class in org.openrewrite.python.format
- PythonSpaces() - Constructor for class org.openrewrite.python.format.PythonSpaces
- PythonSpacesVisitor<P> - Class in org.openrewrite.python.format
-
Ideally, we'll reuse AutoFormatVisitor from Java, but Python requires specific handling of whitespace to maintain column alignment.
- PythonSpacesVisitor() - Constructor for class org.openrewrite.python.format.PythonSpacesVisitor
- PythonVisitor<P> - Class in org.openrewrite.python
-
Visit K types.
- PythonVisitor() - Constructor for class org.openrewrite.python.PythonVisitor
Q
- Quark - Enum constant in enum class org.openrewrite.python.table.PythonSourceFile.SourceFileType
R
- reindent(Space, String, PySpace.IndentStartMode, PySpace.IndentEndMode) - Static method in class org.openrewrite.python.tree.PySpace
- reset() - Method in class org.openrewrite.python.PythonParser
- reset() - Method in class org.openrewrite.python.tree.PySpace.SpaceBuilder
- resetTo(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- resetToSpaceAfter(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- resetToSpaceBefore(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- resetToTrailingSpaceWithin(PsiElement) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- REST_OF_LINE - Enum constant in enum class org.openrewrite.python.tree.PySpace.IndentEndMode
- RETURN_TYPE - Enum constant in enum class org.openrewrite.python.tree.Py.TypeHint.Kind
- root(PyFile) - Static method in class org.openrewrite.python.internal.PsiPythonMapper.BlockContext
- Row() - Constructor for class org.openrewrite.python.table.PythonSourceFile.Row
S
- SEQUENCE - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- SEQUENCE_LIST - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- SEQUENCE_TUPLE - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- set(T, PythonExtraPadding.Location, Space) - Static method in class org.openrewrite.python.marker.PythonExtraPadding
- SET - Enum constant in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
- sourcePathFromSourceText(Path, String) - Method in class org.openrewrite.python.PythonParser
- spaceAfter(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
-
Collects all continuous space (whitespace and comments) that immediately follows an element as a sibling.
- spaceBefore(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
-
Collects all continuous space (whitespace and comments) that immediately precedes an element as a sibling.
- SpaceBuilder() - Constructor for class org.openrewrite.python.tree.PySpace.SpaceBuilder
- SPECIAL_ARG_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- SPECIAL_PARAM_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- SpecialArgument() - Constructor for class org.openrewrite.python.tree.Py.SpecialArgument
- SpecialParameter() - Constructor for class org.openrewrite.python.tree.Py.SpecialParameter
- STAR - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- STATEMENT_START - Enum constant in enum class org.openrewrite.python.tree.PySpace.IndentEndMode
- StatementGroup() - Constructor for class org.openrewrite.python.marker.GroupedStatement.StatementGroup
- stripIndent(Space, String) - Static method in class org.openrewrite.python.tree.PySpace
- styles(Iterable<? extends NamedStyles>) - Method in class org.openrewrite.python.PythonParser.Builder
- SuppressNewline - Class in org.openrewrite.python.marker
- SuppressNewline() - Constructor for class org.openrewrite.python.marker.SuppressNewline
T
- TOP_LEVEL_STATEMENT - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- TOP_LEVEL_STATEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- TRAILING_ELSE_WRAPPER_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- TrailingElseWrapper() - Constructor for class org.openrewrite.python.tree.Py.TrailingElseWrapper
- trailingSpace(PsiElement) - Static method in class org.openrewrite.python.internal.PsiUtils
-
Collects trailing space inside of an element.
- TYPE_HINT_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- TYPE_HINTED_EXPRESSION_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- typeCache(JavaTypeCache) - Method in class org.openrewrite.python.PythonParser.Builder
- TypeHint() - Constructor for class org.openrewrite.python.tree.Py.TypeHint
- TypeHintedExpression() - Constructor for class org.openrewrite.python.tree.Py.TypeHintedExpression
V
- VALUE - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- valueOf(String) - Static method in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.table.PythonSourceFile.SourceFileType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.SpecialArgument.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.SpecialParameter.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.TypeHint.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.Py.VariableScopeStatement.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PyContainer.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PyLeftPadded.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PyRightPadded.Location
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PySpace.IndentEndMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PySpace.IndentStartMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.python.tree.PySpace.Location
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.table.PythonSourceFile.SourceFileType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.ComprehensionExpression.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.SpecialArgument.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.SpecialParameter.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.TypeHint.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.Py.VariableScopeStatement.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PyContainer.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PyLeftPadded.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PyRightPadded.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PySpace.IndentEndMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PySpace.IndentStartMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.python.tree.PySpace.Location
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARIABLE_SCOPE_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- VARIABLE_SCOPE_NAME_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- VARIABLE_SCOPE_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- VARIABLE_TYPE - Enum constant in enum class org.openrewrite.python.tree.Py.TypeHint.Kind
- VariableScopeStatement() - Constructor for class org.openrewrite.python.tree.Py.VariableScopeStatement
- visitAnnotation(J.Annotation, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitArrayDimension(J.ArrayDimension, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitAssertStatement(Py.AssertStatement, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitAssertStatement(Py.AssertStatement, P) - Method in class org.openrewrite.python.PythonVisitor
- visitAssignment(J.Assignment, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitAssignmentOperation(J.AssignmentOperation, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitAwaitExpression(Py.AwaitExpression, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitAwaitExpression(Py.AwaitExpression, P) - Method in class org.openrewrite.python.PythonVisitor
- visitBinary(J.Binary, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitBlock(J.Block, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitBreak(J.Break, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitCase(J.Case, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitCatch(J.Try.Catch, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitClassDeclaration(J.ClassDeclaration, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitCompilationUnit(J.CompilationUnit, P) - Method in class org.openrewrite.python.PythonVisitor
- visitCompilationUnit(Py.CompilationUnit, P) - Method in class org.openrewrite.python.PythonVisitor
- visitComprehensionClause(Py.ComprehensionExpression.Clause, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitComprehensionClause(Py.ComprehensionExpression.Clause, P) - Method in class org.openrewrite.python.PythonVisitor
- visitComprehensionCondition(Py.ComprehensionExpression.Condition, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitComprehensionCondition(Py.ComprehensionExpression.Condition, P) - Method in class org.openrewrite.python.PythonVisitor
- visitComprehensionExpression(Py.ComprehensionExpression, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitComprehensionExpression(Py.ComprehensionExpression, P) - Method in class org.openrewrite.python.PythonVisitor
- visitContainer(JContainer<J2>, PyContainer.Location, P) - Method in class org.openrewrite.python.PythonVisitor
- visitContinue(J.Continue, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitControlParentheses(J.ControlParentheses<T>, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitDelStatement(Py.DelStatement, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitDelStatement(Py.DelStatement, P) - Method in class org.openrewrite.python.PythonVisitor
- visitDictLiteral(Py.DictLiteral, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitDictLiteral(Py.DictLiteral, P) - Method in class org.openrewrite.python.PythonVisitor
- visitElse(J.If.Else, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitErrorFromExpression(Py.ErrorFromExpression, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitErrorFromExpression(Py.ErrorFromExpression, P) - Method in class org.openrewrite.python.PythonVisitor
- visitExceptionType(Py.ExceptionType, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitExceptionType(Py.ExceptionType, P) - Method in class org.openrewrite.python.PythonVisitor
- visitFieldAccess(J.FieldAccess, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitForEachControl(J.ForEachLoop.Control, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitForEachLoop(J.ForEachLoop, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitIdentifier(J.Identifier, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitIf(J.If, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitImport(J.Import, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitJavaSourceFile(JavaSourceFile, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitJavaSourceFile(JavaSourceFile, P) - Method in class org.openrewrite.python.PythonVisitor
- visitKeyValue(Py.KeyValue, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitKeyValue(Py.KeyValue, P) - Method in class org.openrewrite.python.PythonVisitor
- visitLambda(J.Lambda, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitLeftPadded(JLeftPadded<T>, PyLeftPadded.Location, P) - Method in class org.openrewrite.python.PythonVisitor
- visitLiteral(J.Literal, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitMatchCase(Py.MatchCase, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitMatchCase(Py.MatchCase, P) - Method in class org.openrewrite.python.PythonVisitor
- visitMatchCasePattern(Py.MatchCase.Pattern, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitMatchCasePattern(Py.MatchCase.Pattern, P) - Method in class org.openrewrite.python.PythonVisitor
- visitMethodDeclaration(J.MethodDeclaration, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitMethodDeclaration(J.MethodDeclaration, P) - Method in class org.openrewrite.python.format.PythonSpacesVisitor
- visitMethodInvocation(J.MethodInvocation, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitModifier(J.Modifier, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitNamedArgument(Py.NamedArgument, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitNamedArgument(Py.NamedArgument, P) - Method in class org.openrewrite.python.PythonVisitor
- visitNewArray(J.NewArray, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitParentheses(J.Parentheses<T>, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitPassStatement(Py.PassStatement, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitPassStatement(Py.PassStatement, P) - Method in class org.openrewrite.python.PythonVisitor
- visitReturn(J.Return, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitRightPadded(JRightPadded<T>, PyRightPadded.Location, P) - Method in class org.openrewrite.python.PythonVisitor
- visitSpace(Space, Space.Location, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitSpace(Space, PySpace.Location, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitSpace(Space, PySpace.Location, P) - Method in class org.openrewrite.python.PythonVisitor
- visitSpecialArgument(Py.SpecialArgument, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitSpecialArgument(Py.SpecialArgument, P) - Method in class org.openrewrite.python.PythonVisitor
- visitSpecialParameter(Py.SpecialParameter, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitSpecialParameter(Py.SpecialParameter, P) - Method in class org.openrewrite.python.PythonVisitor
- visitStatements(List<JRightPadded<Statement>>, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitSwitch(J.Switch, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTernary(J.Ternary, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitThrow(J.Throw, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTrailingElseWrapper(Py.TrailingElseWrapper, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTrailingElseWrapper(Py.TrailingElseWrapper, P) - Method in class org.openrewrite.python.PythonVisitor
- visitTry(J.Try, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTypeHint(Py.TypeHint, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTypeHint(Py.TypeHint, P) - Method in class org.openrewrite.python.PythonVisitor
- visitTypeHintedExpression(Py.TypeHintedExpression, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitTypeHintedExpression(Py.TypeHintedExpression, P) - Method in class org.openrewrite.python.PythonVisitor
- visitUnary(J.Unary, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitVariable(J.VariableDeclarations.NamedVariable, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitVariableDeclarations(J.VariableDeclarations, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitVariableScopeStatement(Py.VariableScopeStatement, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitVariableScopeStatement(Py.VariableScopeStatement, P) - Method in class org.openrewrite.python.PythonVisitor
- visitWhileLoop(J.WhileLoop, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitYieldExpression(Py.YieldExpression, PrintOutputCapture<P>) - Method in class org.openrewrite.python.internal.PythonPrinter
- visitYieldExpression(Py.YieldExpression, P) - Method in class org.openrewrite.python.PythonVisitor
W
- WILDCARD - Enum constant in enum class org.openrewrite.python.tree.Py.MatchCase.Pattern.Kind
- withCharset(Charset) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- withChildren(List<Expression>) - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern
- withChildren(JContainer<Expression>) - Method in class org.openrewrite.python.tree.Py.MatchCase.Pattern.Padding
- withClasses(List<J.ClassDeclaration>) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- withElements(List<Py.KeyValue>) - Method in class org.openrewrite.python.tree.Py.DictLiteral
- withElements(JContainer<Py.KeyValue>) - Method in class org.openrewrite.python.tree.Py.DictLiteral.Padding
- withElseBlock(J.Block) - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper
- withElseBlock(JLeftPadded<J.Block>) - Method in class org.openrewrite.python.tree.Py.TrailingElseWrapper.Padding
- withExpressions(List<Expression>) - Method in class org.openrewrite.python.tree.Py.AssertStatement
- withExpressions(List<Expression>) - Method in class org.openrewrite.python.tree.Py.YieldExpression
- withExpressions(List<JRightPadded<Expression>>) - Method in class org.openrewrite.python.tree.Py.AssertStatement.Padding
- withExpressions(List<JRightPadded<Expression>>) - Method in class org.openrewrite.python.tree.Py.YieldExpression.Padding
- withFrom(boolean) - Method in class org.openrewrite.python.tree.Py.YieldExpression
- withFrom(Expression) - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression
- withFrom(JLeftPadded<Boolean>) - Method in class org.openrewrite.python.tree.Py.YieldExpression.Padding
- withFrom(JLeftPadded<Expression>) - Method in class org.openrewrite.python.tree.Py.ErrorFromExpression.Padding
- withFrom(JLeftPadded<Expression>) - Method in class org.openrewrite.python.tree.Py.NamedArgument.Padding
- withGuard(Expression) - Method in class org.openrewrite.python.tree.Py.MatchCase
- withGuard(JLeftPadded<Expression>) - Method in class org.openrewrite.python.tree.Py.MatchCase.Padding
- withImports(List<J.Import>) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- withImports(List<JRightPadded<J.Import>>) - Method in class org.openrewrite.python.tree.Py.CompilationUnit.Padding
- WITHIN_OPERATOR_NAME - Enum constant in enum class org.openrewrite.python.marker.PythonExtraPadding.Location
-
Some Python operators have space within the operator itself.
- withIteratedList(Expression) - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause
- withIteratedList(JLeftPadded<Expression>) - Method in class org.openrewrite.python.tree.Py.ComprehensionExpression.Clause.Padding
- withKey(Expression) - Method in class org.openrewrite.python.tree.Py.KeyValue
- withKey(JRightPadded<Expression>) - Method in class org.openrewrite.python.tree.Py.KeyValue.Padding
- withMarkers(Markers) - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- withNames(List<J.Identifier>) - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement
- withNames(List<JRightPadded<J.Identifier>>) - Method in class org.openrewrite.python.tree.Py.VariableScopeStatement.Padding
- withPackageDeclaration(J.Package) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- withPrefix(Space) - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
- withRollback(Supplier<T>) - Method in class org.openrewrite.python.internal.PsiPaddingCursor
- withStatements(List<JRightPadded<Statement>>) - Method in class org.openrewrite.python.tree.Py.CompilationUnit.Padding
- withStatements(List<Statement>) - Method in class org.openrewrite.python.tree.Py.CompilationUnit
- WithStatus() - Constructor for class org.openrewrite.python.internal.PsiPaddingCursor.WithStatus
- withTargets(List<Expression>) - Method in class org.openrewrite.python.tree.Py.DelStatement
- withTargets(List<JRightPadded<Expression>>) - Method in class org.openrewrite.python.tree.Py.DelStatement.Padding
- withType(JavaType) - Method in class org.openrewrite.python.tree.Py.ExpressionStatement
Y
- YIELD_ELEMENT - Enum constant in enum class org.openrewrite.python.tree.PyRightPadded.Location
- YIELD_ELEMENT_SUFFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- YIELD_FROM - Enum constant in enum class org.openrewrite.python.tree.PyLeftPadded.Location
- YIELD_FROM_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- YIELD_PREFIX - Enum constant in enum class org.openrewrite.python.tree.PySpace.Location
- YieldExpression() - Constructor for class org.openrewrite.python.tree.Py.YieldExpression
All Classes and Interfaces|All Packages