Class PyComment

java.lang.Object
org.openrewrite.python.tree.PyComment
All Implemented Interfaces:
org.openrewrite.java.tree.Comment

public class PyComment extends Object implements org.openrewrite.java.tree.Comment
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    <P> void
    printComment(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, wait

    Methods 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:
      isMultiline in interface org.openrewrite.java.tree.Comment
    • printComment

      public <P> void printComment(org.openrewrite.Cursor cursor, org.openrewrite.PrintOutputCapture<P> p)
      Specified by:
      printComment in interface org.openrewrite.java.tree.Comment