class Module[F[_]] extends AnyRef
The runtime representation of a validated and compiled module.
- Self Type
- Module[F]
- Source
- Module.scala
- Alphabetic
- By Inheritance
- Module
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Instantiable extends AnyRef
A module that can be instantiated with some imports.
A module that can be instantiated with some imports. This can be reused to instantiate several times the same module with the same imports.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val customs: Vector[Custom]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val exports: Vector[Export]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def importing[I](name: String, i: I)(implicit I: AsInstance[I, F]): Instantiable
Adds a new import to be used when instantiating.
- def importing(imports: Imports[F]): Instantiable
Adds imports to be used when instantiating.
- val imports: Vector[Import]
- def instantiate: F[Instance[F]]
Instantiates this module with no imports.
Instantiates this module with no imports. The returned Instance can then be used to access exported elements.
If instantiation fails, returns an error with the message wrapped in it.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: Option[String]
Returns the module name if any.
Returns the module name if any.
A module has a name if it was provided by a custom name section.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object imported
Access to filtered imported elements.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.