package core
- Alphabetic
- Public
- All
Type Members
- sealed trait CompileUniverse[U <: Universe] extends AnyRef
- trait Logger extends AnyRef
- final class ScalaParser[Uni <: Universe] extends AnyRef
-
final
class
Settings extends AnyRef
Created by Milosz on 09.12.2016.
-
final
class
Transpiler extends AnyRef
Created by Milosz on 09.06.2016.
-
trait
TypeScriptDeclarationMapper extends (Resolved, Settings, Resolved, TypeScriptFieldMapper, Declaration, PrintStream) ⇒ Option[Unit]
The implementations must be class with a no-arg constructor.
The implementations must be class with a no-arg constructor.
- final class TypeScriptEmitter extends AnyRef
- final class TypeScriptField extends AnyRef
-
trait
TypeScriptFieldMapper extends (Settings, String, String, TypeRef) ⇒ TypeScriptField
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) }
-
trait
TypeScriptImportResolver extends (Declaration) ⇒ Option[Set[TypeRef]]
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.
- trait TypeScriptPrinter extends (Settings, Kind, String, Set[TypeRef]) ⇒ PrintStream
-
trait
TypeScriptTypeMapper extends (Resolved, Settings, String, TypeScriptField, TypeRef) ⇒ Option[String]
The implementations must be class with a no-arg constructor.
The implementations must be class with a no-arg constructor.
See: - TypeScriptTypeMapper.ArrayAsGeneric - TypeScriptTypeMapper.ArrayAsBrackets - TypeScriptTypeMapper.DateAsString - TypeScriptTypeMapper.NumberAsString - TypeScriptTypeMapper.NullableAsOption
- trait TypeScriptTypeNaming extends (Settings, TypeRef) ⇒ String
Value Members
- object CompileUniverse
- object Logger extends LoggerCompat
- object ScalaModel
- object Settings
- object TypeScriptDeclarationMapper
- object TypeScriptField
- object TypeScriptFieldMapper
-
object
TypeScriptGenerator
Created by Milosz on 11.06.2016.
- object TypeScriptImportResolver
- object TypeScriptPrinter
- object TypeScriptTypeMapper
- object TypeScriptTypeNaming