Class CommentPrettyPrinter

java.lang.Object
de.monticore.prettyprint.CommentPrettyPrinter

public class CommentPrettyPrinter extends Object
  • Constructor Details

    • CommentPrettyPrinter

      public CommentPrettyPrinter()
  • Method Details

    • printPreComments

      public static void printPreComments(ASTNode a, IndentPrinter p)
      Print all comments before an ASTNode
      Parameters:
      a - ASTNode that precomments shall be printed
      p - IndentPrinter that should be used for printing
    • printPostComments

      public static void printPostComments(ASTNode a, IndentPrinter p)
      Print all comments after an ASTNode
      Parameters:
      a - ASTNode that postcomments shall be printed
      p - IndentPrinter that should be used for printing