FunctionalPrinter

scalapb.compiler.FunctionalPrinter
See theFunctionalPrinter companion object
case class FunctionalPrinter(content: Vector[String], indentLevel: Int)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def add(s: String*): FunctionalPrinter

Adds strings at the current indent level.

Adds strings at the current indent level.

Attributes

def addGroupsWithDelimiter(delimiter: String)(groups: Seq[Seq[String]]): FunctionalPrinter

add with indent

add with indent

Attributes

def addWithDelimiter(delimiter: String)(s: Seq[String]): FunctionalPrinter

apply the function with indent

apply the function with indent

Attributes

def result(): String
def seq(s: Seq[String]): FunctionalPrinter
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val INDENT_SIZE: Int