ObjectCodeWrapper
scala.build.internal.ObjectCodeWrapper
case object ObjectCodeWrapper extends CodeWrapper
Script code wrapper compatible with Scala 2 and JS native members
When using Scala 3 or/and not using JS native prefer ClassCodeWrapper, since it prevents deadlocks when running threads from script
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass CodeWrapperclass Objecttrait Matchableclass AnyShow all
- Self type
-
ObjectCodeWrapper.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
def apply(code: String, pkgName: Seq[Name], indexedWrapperName: Name, extraCode: String, scriptPath: String): (String, String)
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
def wrapCode(pkgName: Seq[Name], indexedWrapperName: Name, code: String, scriptPath: String): (String, WrapperParams)
Attributes
- Inherited from:
- CodeWrapper
Attributes
- Inherited from:
- CodeWrapper
In this article