接口 Op

所有已知实现类:
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.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    add(DocBuilder builder)
    Add an Op to a DocBuilder.