Packages

c

io.github.scalats.plugins

SingleFilePrinter

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleFilePrinter
  2. BasePrinter
  3. TypeScriptPrinter
  4. Function4
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingleFilePrinter(outDir: File)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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).

    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
    SingleFilePrinterTypeScriptPrinter → Function4
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def curried: (Settings) ⇒ (Kind) ⇒ (String) ⇒ (ListSet[TypeRef]) ⇒ PrintStream
    Definition Classes
    Function4
    Annotations
    @unspecialized()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def printImports(settings: Settings, requires: ListSet[TypeRef], out: PrintStream)(importPath: (TypeRef) ⇒ String): Unit

    Prints TypeScript imports from the required types.

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

    importPath

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

    Attributes
    protected
    Definition Classes
    BasePrinter
  18. 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
    protected
    Definition Classes
    BasePrinter
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    Function4 → AnyRef → Any
  21. def tupled: ((Settings, Kind, String, ListSet[TypeRef])) ⇒ PrintStream
    Definition Classes
    Function4
    Annotations
    @unspecialized()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BasePrinter

Inherited from TypeScriptPrinter

Inherited from (Settings, Kind, String, ListSet[TypeRef]) ⇒ PrintStream

Inherited from AnyRef

Inherited from Any

Ungrouped