Packages

package core

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CompileUniverse[U <: Universe] extends AnyRef
  2. trait DeclarationMapper extends (Resolved, Settings, Resolved, FieldMapper, Declaration, PrintStream) => Option[Unit]

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

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

    See: - DeclarationMapper.EnumerationAsEnum

  3. final class Emitter extends AnyRef

    Default emitter.

  4. final class Field extends AnyRef
  5. trait FieldMapper extends (Settings, String, String, TypeRef) => Field

    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.ast.TypeRef
    import io.github.scalats.core.{
      Settings, Field, FieldMapper
    }
    
    class CustomFieldMapper extends FieldMapper {
      def apply(
        settings: Settings,
        ownerType: String,
        propertyName: String,
        propertyType: TypeRef) =
        Field("_" + propertyName, Set.empty)
    }
  6. trait ImportResolver extends (Declaration) => Option[ListSet[TypeRef]]

    Resolves the imports for TypeScript declarations.

    Resolves the imports for TypeScript declarations. Must be consistent with applied Printer and DeclarationMapper.

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

  7. trait Logger extends AnyRef
  8. trait Printer extends (Settings, Kind, String, ListSet[TypeRef]) => PrintStream
  9. final class ScalaParser[Uni <: Universe] extends AnyRef
  10. final class Settings extends AnyRef

    Created by Milosz on 09.12.2016.

  11. final class Transpiler extends AnyRef

    Created by Milosz on 09.06.2016.

  12. trait TypeMapper extends (Resolved, Settings, Declaration, Field, TypeRef) => Option[String]

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

  13. trait TypeNaming extends (Settings, TypeRef) => String

Value Members

  1. object CompileUniverse
  2. object DeclarationMapper
  3. object Field
  4. object FieldMapper
  5. object Generator

    Created by Milosz on 11.06.2016.

  6. object ImportResolver
  7. object Logger extends LoggerCompat
  8. object Printer
  9. object Settings
  10. object TypeMapper
  11. object TypeNaming

Ungrouped