Interface Op

All Known Implementing Classes:
Break, CloseOp, Comment, NonBreakingSpace, OpenOp, Token

public interface Op
An Op is a member of the sequence of formatting operations emitted by OpsBuilder and transformed by DocBuilder into a Doc. Leaf subclasses of Doc implement Op; Doc.Level is the only non-leaf, and is represented by paired OpenOp-CloseOp Ops.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(DocBuilder builder)
    Add an Op to a DocBuilder.