ConfigDelayedMerge
object ConfigDelayedMerge
The issue here is that we want to first merge our stack of config files, and
then we want to evaluate substitutions. But if two substitutions both expand
to an object, we might need to merge those two objects. Thus, we can't ever
"override" a substitution when we do a merge; instead we have to save the
stack of values that should be merged, and resolve the merge when we evaluate
substitutions.
then we want to evaluate substitutions. But if two substitutions both expand
to an object, we might need to merge those two objects. Thus, we can't ever
"override" a substitution when we do a merge; instead we have to save the
stack of values that should be merged, and resolve the merge when we evaluate
substitutions.
- Companion
- class
class Object
trait Matchable
class Any
Value members
Methods
@throws(scala.throws.$lessinit$greater$default$1[org.ekrich.config.impl.AbstractConfigValue.NotPossibleToResolve])
def resolveSubstitutions(replaceable: ReplaceableMergeStack, stack: List[AbstractConfigValue], context: ResolveContext, source: ResolveSource): ResolveResult[ <: AbstractConfigValue]
def makeReplacement(context: ResolveContext, stack: List[AbstractConfigValue], skipping: Int): AbstractConfigValue
def render(stack: List[AbstractConfigValue], sb: StringBuilder, indentVal: Int, atRoot: Boolean, atKey: String, options: ConfigRenderOptions): Unit