Interface CommentsHelper

All Known Implementing Classes:
JavaCommentsHelper

public interface CommentsHelper
Rewrite comments. This interface is implemented by JavaCommentsHelper.
  • Method Summary

    Modifier and Type
    Method
    Description
    rewrite(Input.Tok tok, int maxWidth, int column0)
    Try to rewrite comments, returning rewritten text.
  • Method Details

    • rewrite

      String rewrite(Input.Tok tok, int maxWidth, int column0)
      Try to rewrite comments, returning rewritten text.
      Parameters:
      tok - the comment's tok
      maxWidth - the line length for the output
      column0 - the current column
      Returns:
      the rewritten comment