FilePrinter

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

Attributes

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

Members list

Value members

Concrete methods

def apply(conf: Settings, kind: Kind, others: ListSet[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

Attributes

Inherited methods

def curried: Settings => Kind => ListSet[Kind] => String => ListSet[TypeRef] => PrintStream

Attributes

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

Value parameters

importPath

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

Attributes

Inherited from:
BasePrinter
protected def printPrelude(out: PrintStream): Unit

If the system property scala-ts.printer.import-pattern, it's used to format.

If the system property scala-ts.printer.import-pattern, it's used to format.

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
Function5 -> Any
Inherited from:
Function5
def tupled: ((Settings, Kind, ListSet[Kind], String, ListSet[TypeRef])) => PrintStream

Attributes

Inherited from:
Function5