FilePrinter

io.github.scalats.plugins.FilePrinter
final class FilePrinter(outDir: File) extends BasePrinter

Attributes

Graph
Supertypes
trait Printer
trait (Settings, Kind, String, ListSet[TypeRef]) => PrintStream
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(conf: 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).

Attributes

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 methods

def curried: T1 => T2 => T3 => T4 => R

Attributes

Inherited from:
Function4
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

Attributes

importPath

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

Inherited from:
BasePrinter
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.

Attributes

Inherited from:
BasePrinter
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
Function4 -> Any
Inherited from:
Function4
def tupled: ((T1, T2, T3, T4)) => R

Attributes

Inherited from:
Function4