final case class ScopedSources(paths: Seq[HasScope[(Path, RelPath)]], inMemory: Seq[HasScope[InMemory]], defaultMainElemPath: Option[Path], resourceDirs: Seq[HasScope[Path]], buildOptions: Seq[HasScope[BuildOptions]], unwrappedScripts: Seq[HasScope[UnwrappedScript]])
Information gathered from preprocessing command inputs - sources (including unwrapped scripts) and build options from using directives. Only scope requirements remain in this object after resolving them in CrossSources.scopedSources
Value parameters
buildOptions
build options sources with the scope they belong to
inMemory
in memory sources (e.g. snippets) with the scope they belong to
paths
paths and relative paths to sources on disk with the scope they belong to
unwrappedScripts
in memory script sources with the scope they belong to, their code must be wrapped before compiling
Combine build options that had no requirements (console and using directives) or their requirements have been resolved (e.g. target using directives) with build options that require the specified scope
Combine build options that had no requirements (console and using directives) or their requirements have been resolved (e.g. target using directives) with build options that require the specified scope
Value parameters
baseOptions
options that have already been collected for this build (had no requirements or they have been resolved)
scope
scope to be resolved
Attributes
Returns
Combined BuildOptions, baseOptions' values take precedence