Class Indent

  • Direct Known Subclasses:
    Indent.Const, Indent.If

    public abstract class Indent
    extends java.lang.Object
    An indent for a Doc.Level or Doc.Break. The indent is either a constant int, or a conditional expression whose value depends on whether or not a Doc.Break has been broken.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Indent.Const
      A constant function, returning a constant indent.
      static class  Indent.If
      A conditional function, whose value depends on whether a break was taken.
    • Constructor Summary

      Constructors 
      Constructor Description
      Indent()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract int eval()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Indent

        public Indent()
    • Method Detail

      • eval

        abstract int eval()