Module aya.pretty

Interface PrettyErrorConfig


public interface PrettyErrorConfig
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NotNull PrettyErrorConfig
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Show more lines before startLine and after endLine
    default int
    Returns the number of spaces occupied by the tab in different terminals.
  • Field Details

  • Method Details

    • tabWidth

      default int tabWidth()
      Returns the number of spaces occupied by the tab in different terminals. e.g. return 4 for normal console output, 2 for compact format style.
      Returns:
      space count
    • showMore

      default int showMore()
      Show more lines before startLine and after endLine
      Returns:
      line count