ScalaPreprocessor
scala.build.preprocessing.ScalaPreprocessor$
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Preprocessorclass Objecttrait Matchableclass Any
- Self type
- ScalaPreprocessor.type
Members list
Concise view
Type members
Classlikes
case class ProcessingOutput(globalReqs: BuildRequirements, scopedReqs: Seq[Scoped[BuildRequirements]], opts: BuildOptions, updatedContent: Option[String], directivesPositions: Option[DirectivesPositions])
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
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 preprocess(input: SingleElement, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException], allowRestrictedFeatures: Boolean): Option[Either[BuildException, Seq[PreprocessedSource]]]
def process(content: String, path: Either[String, Path], scopeRoot: ScopePath, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException], allowRestrictedFeatures: Boolean): Either[BuildException, Option[ProcessingOutput]]
def process(content: String, extractedDirectives: ExtractedDirectives, path: Either[String, Path], scopeRoot: ScopePath, logger: Logger, maybeRecoverOnError: BuildException => Option[BuildException], allowRestrictedFeatures: Boolean): 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