compilerPlugin
compilerPlugin
scalapb
GeneratorOption
GeneratorOption
AsciiFormatToString
FlatPackage
Grpc
JavaConversions
NoLenses
RetainSourceCodeInfo
SingleLineToProtoString
ScalaPbCodeGenerator
gen
scalapb.compiler
CollectionMethods
ConstructorField
ConstructorField
DeprecatedImplicits
DescriptorImplicits
ExtendedEnumDescriptor
ExtendedEnumValueDescriptor
ExtendedFieldDescriptor
ExtendedFileDescriptor
ExtendedMessageDescriptor
MapType
ExtendedMethodDescriptor
MethodTypeWrapper
ExtendedOneofDescriptor
ExtendedServiceDescriptor
ScalaName
DescriptorImplicits
AsSymbolExtension
EnclosingType
EnclosingType
Collection
None
ScalaOption
Expression
ExpressionBuilder
ExpressionList
FileOptionsCache
FunctionApplication
FunctionalPrinter
FunctionalPrinter
GeneratorException
GeneratorParams
GeneratorParams
GrpcServicePrinter
Helper
Identity
InsertionPoint
LiteralExpression
MethodApplication
NameUtils
OperatorApplication
PrinterEndo
ProtoValidation
ProtoValidation
ProtobufGenerator
ProtobufGenerator
SealedOneof
SealedOneofStyle
SealedOneofStyle
Default
Optional
SealedOneofsCache
SealedOneofsGenerator
SecondaryOutputProvider
SecondaryOutputProvider
StreamType
StreamType
Bidirectional
ClientStreaming
ServerStreaming
Unary
Types
TypeInfo
Version
scalapb.internal
Encoding
scalapb.options.compiler
Scalapb
compilerPlugin
/
scalapb.compiler
/
FunctionalPrinter
FunctionalPrinter
case
class
FunctionalPrinter
(content:
Vector
[
String
], indentLevel:
Int
)
Companion
object
Graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
add
(s:
String
*):
FunctionalPrinter
Adds strings at the current indent level.
Adds strings at the current indent level.
def
addGroupsWithDelimiter
(delimiter:
String
)(groups:
Seq
[
Seq
[
String
]]):
FunctionalPrinter
def
addIndented
(s:
String
*):
FunctionalPrinter
add with indent
add with indent
def
addStringMargin
(s:
String
):
FunctionalPrinter
def
addWithDelimiter
(delimiter:
String
)(s:
Seq
[
String
]):
FunctionalPrinter
def
call
(f:
PrinterEndo
*):
FunctionalPrinter
def
indent
:
FunctionalPrinter
def
indent
(n:
Int
):
FunctionalPrinter
def
indented
(f:
PrinterEndo
):
FunctionalPrinter
apply the function with indent
apply the function with indent
def
newline
:
FunctionalPrinter
def
outdent
:
FunctionalPrinter
def
outdent
(n:
Int
):
FunctionalPrinter
def
print
[M](objects:
Iterable
[M])(f: (
FunctionalPrinter
, M) =>
FunctionalPrinter
):
FunctionalPrinter
def
result
():
String
def
seq
(s:
Seq
[
String
]):
FunctionalPrinter
override
def
toString
:
String
Definition Classes
Any
def
when
(cond: =>
Boolean
)(func:
FunctionalPrinter
=>
FunctionalPrinter
):
FunctionalPrinter
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Inherited from
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from
Product
Concrete fields
val
INDENT_SIZE
:
Int