scala.build.internal
Members list
Type members
Classlikes
Script code wrapper that solves problem of deadlocks when using threads. The code is placed in a
class instance constructor, the created object is kept in 'mainObjectCode'.script to support
running interconnected scripts using Scala CLI
Incompatible with Scala 2 - it uses
Scala 3 feature 'export'
Incompatible with native JS members - the wrapper is a class
Script code wrapper that solves problem of deadlocks when using threads. The code is placed in a
class instance constructor, the created object is kept in 'mainObjectCode'.script to support
running interconnected scripts using Scala CLI
Incompatible with Scala 2 - it uses
Scala 3 feature 'export'
Incompatible with native JS members - the wrapper is a class
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass CodeWrapperclass Objecttrait Matchableclass Any
- Self type
- ClassCodeWrapper.type
Helper to get class names from Java sources
Helper to get class names from Java sources
See JavaParserProxyJvm for the implementation that runs things in memory using java-class-name from the class path, and JavaParserProxyBinary for the implementation that downloads and runs a java-class-name binary.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class JavaParserProxyBinaryclass JavaParserProxyJvm
Downloads and runs java-class-name as an external binary.
Downloads and runs java-class-name as an external binary.
Attributes
- Graph
- Supertypes
A JavaParserProxy that relies on java-class-name in the class path, rather than downloading it and running it as an external binary.
A JavaParserProxy that relies on java-class-name in the class path, rather than downloading it and running it as an external binary.
Should be used from Scala CLI when it's run on the JVM.
Attributes
- Graph
- Supertypes
On the JVM, provides JavaParserProxyJvm as JavaParserProxy instance.
On the JVM, provides JavaParserProxyJvm as JavaParserProxy instance.
From native launchers, JavaParserProxyMakerSubst takes over this, and gives JavaParserProxyBinary instead.
That way, no reference to JavaParserProxyJvm remains in the native call graph, and that class and those it pulls (the java-class-name classes, which includes parts of the dotty parser) are not embedded the native launcher.
Note that this is a class and not an object, to make it easier to write substitutions for that in Java.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- MainClass.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ManifestJar.type
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
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 Any
- Self type
- ObjectCodeWrapper.type