FunctionalPrinter

nscn.polaris2.pdefgen.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
Show all

Members list

Value members

Concrete methods

def add(s: String*): FunctionalPrinter

Adds lines at the current indent level.

Adds lines at the current indent level.

Attributes

def indent(n: Int): FunctionalPrinter
def outdent(n: Int): FunctionalPrinter
def result(): String

Every line added so far, each ending in a newline.

Every line added so far, each ending in a newline.

Attributes

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]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product