Package org.openrewrite.python.tree
Class PyComment
java.lang.Object
org.openrewrite.python.tree.PyComment
- All Implemented Interfaces:
org.openrewrite.java.tree.Comment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<P> voidprintComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.java.tree.Comment
getMarkers, getSuffix, printComment, withMarkers, withSuffix
-
Constructor Details
-
PyComment
public PyComment()
-
-
Method Details
-
isMultiline
public boolean isMultiline()- Specified by:
isMultilinein interfaceorg.openrewrite.java.tree.Comment
-
printComment
public <P> void printComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p) - Specified by:
printCommentin interfaceorg.openrewrite.java.tree.Comment
-