Output

com.phasmidsoftware.gambit.attic.Output
See theOutput companion trait
object Output

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Output.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(writer: Writer): Output

Method to append an empty WriterOutput based on writer.

Method to append an empty WriterOutput based on writer.

Value parameters

writer

the writer which will back the new Output.

Attributes

Returns

a new instance of Output.

def apply(writer: Writer, s: CharSequence): Output

Method to append a new WriterOutput based on writer and the input s.

Method to append a new WriterOutput based on writer and the input s.

Value parameters

s

the character sequence

writer

the writer which will back the new Output.

Attributes

Returns

a new instance of Output.

def apply(printStream: PrintStream): Output

Method to create an Output based on a PrintStream.

Method to create an Output based on a PrintStream.

Value parameters

printStream

a PrintStream such as System.out which will be used as the backing store.

Attributes

Returns

a new Output whose appendable is the writer for the given printStream.

def apply(s: CharSequence): Output

Method to append an UnbackedOutput based on the input s.

Method to append an UnbackedOutput based on the input s.

Value parameters

s

the character sequence

Attributes

Returns

a new instance of UnbackedOutput.

def apply[X](xs: Iterable[X])(f: X => Output): Output
def calculateTabSpaces(tab: Int)(pos: Int): Int
def customWriter(w: Writer, initialIndent: CharSequence, stringBuilder: StringBuilder, transform: CharSequence => CharSequence): Output
def empty: Output

Method to create an empty UnbackedOutput

Method to create an empty UnbackedOutput

Attributes

Returns

a new instance of UnbackedOutput.

def foldLeft[X](xs: Iterable[X])(o: Output = ...)(f: (Output, X) => Output): Output
def reduce[X](xs: Iterable[X])(f: (Output, X) => Output): Output
def untabbedWriter(w: Writer, tab: Int): Output

Implicits

Implicits

implicit def separator: Output