scala.build.preprocessing

Members list

Type members

Classlikes

class CustomDirectivesReporter(path: Either[String, Path], onDiagnostic: Diagnostic => Unit) extends Reporter

Attributes

Companion
object
Supertypes
trait Reporter
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case object DataPreprocessor extends Preprocessor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class DirectivesPreprocessor(path: Either[String, Path], cwd: ScopePath, logger: Logger, allowRestrictedFeatures: Boolean, suppressWarningOptions: SuppressWarningOptions, maybeRecoverOnError: BuildException => Option[BuildException])(using x$7: ScalaCliInvokeData)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ExtractedDirectives(directives: Seq[StrictDirective], position: Option[File])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case object JarPreprocessor extends Preprocessor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all
Self type
final case class JavaPreprocessor(archiveCache: ArchiveCache[Task], javaClassNameVersionOpt: Option[String], javaCommand: () => String) extends Preprocessor

Java source preprocessor.

Java source preprocessor.

Doesn't modify Java sources. This only extracts using directives from them, and for unnamed sources (like stdin), tries to infer a class name from the sources themselves.

Value parameters

archiveCache

when using a java-class-name external binary to infer a class name (see JavaParserProxy), a cache to download that binary with

javaClassNameVersionOpt

when using a java-class-name external binary to infer a class name (see JavaParserProxy), this forces the java-class-name version to download

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case object MarkdownPreprocessor extends Preprocessor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PreprocessedMarkdownCodeBlocks(codeBlocks: Seq[MarkdownCodeBlock], extractedDirectives: ExtractedDirectives)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class PreprocessedSource extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class InMemory
class NoSourceCode
class OnDisk

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait Preprocessor

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object ScalaPreprocessor extends Preprocessor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all
Self type
case object ScriptPreprocessor extends Preprocessor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Preprocessor
class Object
trait Matchable
class Any
Show all
Self type
object SheBang

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SheBang.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type