Class Indent

java.lang.Object
com.google.googlejavaformat.Indent
Direct Known Subclasses:
Indent.Const, Indent.If

public abstract class Indent extends 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 final class 
    A constant function, returning a constant indent.
    static final class 
    A conditional function, whose value depends on whether a break was taken.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract int
     

    Methods inherited from class java.lang.Object

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

    • Indent

      public Indent()
  • Method Details

    • eval

      abstract int eval()