public interface Op
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
Op
s.Modifier and Type | Method and Description |
---|---|
void |
add(DocBuilder builder)
Add an
Op to a DocBuilder . |
void add(DocBuilder builder)
Op
to a DocBuilder
.builder
- the DocBuilder
Copyright © 2015–2016 Google Inc.. All rights reserved.