Class Output

Direct Known Subclasses:
JavaOutput

public abstract class Output extends InputOutput
An output from the formatter.
  • Constructor Details

    • Output

      public Output()
  • Method Details

    • indent

      public abstract void indent(int indent)
      Indent by outputting indent spaces.
      Parameters:
      indent - the current indent
    • append

      public abstract void append(State state, String text, com.google.common.collect.Range<Integer> range)
      Output a string.
      Parameters:
      state - the current state
      text - the string
      range - the Range corresponding to the string
    • toString

      public String toString()
      Overrides:
      toString in class InputOutput