final class SingleFilePrinter 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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SingleFilePrinter
- BasePrinter
- Printer
- Function5
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SingleFilePrinter(outDir: File)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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).
- 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
- Definition Classes
- SingleFilePrinter → Printer → Function5
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
curried: (Settings) ⇒ (Kind) ⇒ (ListSet[Kind]) ⇒ (String) ⇒ (ListSet[TypeRef]) ⇒ PrintStream
- Definition Classes
- Function5
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
printImports(settings: Settings, requires: ListSet[TypeRef], out: PrintStream)(importPath: (TypeRef) ⇒ String): Unit
- importPath
the function applied to each required type to determine the import path
- Attributes
- protected
- Definition Classes
- BasePrinter
-
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
- protected
- Definition Classes
- BasePrinter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function5 → AnyRef → Any
-
def
tupled: ((Settings, Kind, ListSet[Kind], String, ListSet[TypeRef])) ⇒ PrintStream
- Definition Classes
- Function5
- Annotations
- @unspecialized()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()