ScalaPreprocessor
scala.build.preprocessing.ScalaPreprocessor
case object ScalaPreprocessor extends Preprocessor
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Preprocessorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ScalaPreprocessor.type
Members list
Type members
Classlikes
case class ProcessingOutput(globalReqs: BuildRequirements, scopedReqs: Seq[Scoped[BuildRequirements]], opts: BuildOptions, optsWithReqs: List[WithBuildRequirements[BuildOptions]], updatedContent: Option[String], directivesPositions: Option[File])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ProcessingOutput
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProcessingOutput.type
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Inherited and Abstract types
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def preprocess(input: SingleElement, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException], allowRestrictedFeatures: Boolean, suppressWarningOptions: SuppressWarningOptions)(using ScalaCliInvokeData): Option[Either[BuildException, Seq[PreprocessedSource]]]
def process(content: String, path: Either[String, Path], scopeRoot: ScopePath, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException], allowRestrictedFeatures: Boolean, suppressWarningOptions: SuppressWarningOptions)(using ScalaCliInvokeData): Either[BuildException, Option[ProcessingOutput]]
def processSources(content: String, extractedDirectives: ExtractedDirectives, path: Either[String, Path], scopeRoot: ScopePath, logger: Logger, allowRestrictedFeatures: Boolean, suppressWarningOptions: SuppressWarningOptions, maybeRecoverOnError: BuildException => Option[BuildException])(using ScalaCliInvokeData): Either[BuildException, Option[ProcessingOutput]]
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
In this article