BasePrinter

abstract class BasePrinter extends Printer
trait Printer
trait (Settings, Kind, String, ListSet[TypeRef]) => PrintStream
class Object
trait Matchable
class Any

Value members

Concrete methods

protected def printImports(settings: Settings, requires: ListSet[TypeRef], out: PrintStream)(importPath: TypeRef => String): Unit

Prints TypeScript imports from the required types. If the system property scala-ts.printer.import-pattern

Prints TypeScript imports from the required types. If the system property scala-ts.printer.import-pattern

Value parameters:
importPath

the function applied to each required type to determine the import path

protected def printPrelude(out: PrintStream): Unit

If the system property scala-ts.printer.prelude-url is defined, then print the content from the URL as prelude to the given stream.

If the system property scala-ts.printer.prelude-url is defined, then print the content from the URL as prelude to the given stream.

Inherited methods

def apply(configuration: Settings, kind: Kind, name: String, requires: ListSet[TypeRef]): PrintStream

Resolves the printer to be used to the specified type (and its required associated types).

Resolves the printer to be used to the specified type (and its required associated types).

Value parameters:
configuration

the generator configuration

kind

the kind of the declaration to be printed

name

the name of the type whose declaration must be printed

requires

the type required by the current declaration

Inherited from:
Printer
def curried: T1 => T2 => T3 => T4 => R
Inherited from:
Function4
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Function4 -> Any
Inherited from:
Function4
def tupled: ((T1, T2, T3, T4)) => R
Inherited from:
Function4