Class

io.github.scalats.plugins

SingleFilePrinter

Related Doc: package plugins

Permalink

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
BasePrinter, TypeScriptPrinter, (Settings, Kind, String, Set[TypeRef]) ⇒ PrintStream, AnyRef, Any
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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(conf: Settings, kind: Kind, name: String, requires: Set[TypeRef]): PrintStream

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def curried: (Settings) ⇒ (Kind) ⇒ (String) ⇒ (Set[TypeRef]) ⇒ PrintStream

    Permalink
    Definition Classes
    Function4
    Annotations
    @unspecialized()
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def printImports(settings: Settings, requires: Set[TypeRef], out: PrintStream)(importPath: (TypeRef) ⇒ String): Unit

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    Function4 → AnyRef → Any
  21. def tupled: ((Settings, Kind, String, Set[TypeRef])) ⇒ PrintStream

    Permalink
    Definition Classes
    Function4
    Annotations
    @unspecialized()
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BasePrinter

Inherited from TypeScriptPrinter

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

Inherited from AnyRef

Inherited from Any

Ungrouped