Package

io.github.scalats

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CompileUniverse[U <: Universe] extends AnyRef

    Permalink
  2. trait Logger extends AnyRef

    Permalink
  3. final class ScalaParser[Uni <: Universe] extends AnyRef

    Permalink
  4. final class Settings extends AnyRef

    Permalink

    Created by Milosz on 09.12.2016.

  5. final class Transpiler extends AnyRef

    Permalink

    Created by Milosz on 09.06.2016.

  6. trait TypeScriptDeclarationMapper extends (Resolved, Settings, Resolved, TypeScriptFieldMapper, Declaration, PrintStream) ⇒ Option[Unit]

    Permalink

    The implementations must be class with a no-arg constructor.

    The implementations must be class with a no-arg constructor.

    See: - TypeScriptDeclarationMapper.EnumerationAsEnum

  7. final class TypeScriptEmitter extends AnyRef

    Permalink

  8. final class TypeScriptField extends AnyRef

    Permalink
  9. trait TypeScriptFieldMapper extends (Settings, String, String, TypeRef) ⇒ TypeScriptField

    Permalink

    Functional type to customize the field naming and access.

    Functional type to customize the field naming and access.

    import scala.collection.immutable.Set
    import io.github.scalats.typescript.TypeRef
    import io.github.scalats.core.{
      Settings, TypeScriptField, TypeScriptFieldMapper
    }
    
    class CustomTypeScriptFieldMapper extends TypeScriptFieldMapper {
      def apply(
        settings: Settings,
        ownerType: String,
        propertyName: String,
        propertyType: TypeRef) =
        TypeScriptField("_" + propertyName, Set.empty)
    }
  10. trait TypeScriptImportResolver extends (Declaration) ⇒ Option[ListSet[TypeRef]]

    Permalink

    Resolves the imports for TypeScript declarations.

    Resolves the imports for TypeScript declarations. Must be consistent with applied TypeScriptPrinter and TypeScriptDeclarationMapper.

    The implementations must be class with a no-arg constructor.

  11. trait TypeScriptPrinter extends (Settings, Kind, String, ListSet[TypeRef]) ⇒ PrintStream

    Permalink
  12. trait TypeScriptTypeMapper extends (Resolved, Settings, Declaration, TypeScriptField, TypeRef) ⇒ Option[String]

    Permalink

    The implementations must be class with a no-arg constructor.

  13. trait TypeScriptTypeNaming extends (Settings, TypeRef) ⇒ String

    Permalink

Value Members

  1. object CompileUniverse

    Permalink
  2. object Logger extends LoggerCompat

    Permalink
  3. object Settings

    Permalink
  4. object TypeScriptDeclarationMapper

    Permalink
  5. object TypeScriptField

    Permalink
  6. object TypeScriptFieldMapper

    Permalink
  7. object TypeScriptGenerator

    Permalink

    Created by Milosz on 11.06.2016.

  8. object TypeScriptImportResolver

    Permalink
  9. object TypeScriptPrinter

    Permalink
  10. object TypeScriptTypeMapper

    Permalink
  11. object TypeScriptTypeNaming

    Permalink

Ungrouped