SingleFilePrinter
io.github.scalats.plugins.SingleFilePrinter
final class SingleFilePrinter(outDir: File) extends BasePrinter
Prints all the generated code the a single file.
The default file name is scala.ts
. A custom file name can be specified using the scala-ts.single-filename
system property.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
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
Attributes
- Inherited from:
- Function5
Value parameters
- importPath
-
the function applied to each required type to determine the import path
Attributes
- Inherited from:
- BasePrinter
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
In this article