final class EnumerationAsEnum extends DeclarationMapper
Maps EnumDeclaration
as TypeScript enum
(rather than union type as default).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnumerationAsEnum
- DeclarationMapper
- Function6
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EnumerationAsEnum()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen(m: DeclarationMapper): DeclarationMapper
- Definition Classes
- DeclarationMapper
- def apply(parent: Resolved, settings: Settings, typeMapper: TypeMapper.Resolved, fieldMapper: FieldMapper, declaration: Declaration, out: PrintStream): Option[Unit]
- parent
the parent declaration mapper
- settings
the current settings
- typeMapper
the resolved type mapper
- fieldMapper
the field mapper
- declaration
the transpiled declaration to be emitted
- out
the printer to output the code
- returns
Some print operation, or None if
declaration
is not handled
- Definition Classes
- EnumerationAsEnum → DeclarationMapper → Function6
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def curried: (Resolved) => (Settings) => (TypeMapper.Resolved) => (FieldMapper) => (Declaration) => (PrintStream) => Option[Unit]
- Definition Classes
- Function6
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- DeclarationMapper → Function6 → AnyRef → Any
- def tupled: ((Resolved, Settings, TypeMapper.Resolved, FieldMapper, Declaration, PrintStream)) => Option[Unit]
- Definition Classes
- Function6
- Annotations
- @unspecialized()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()