Packages

p

laika.parse

hocon

package hocon

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayBuilderValue(values: Seq[ConfigBuilderValue]) extends ConfigBuilderValue with Product with Serializable

    An array value with all its elements.

  2. case class BuilderField(key: Either[InvalidStringValue, Key], value: ConfigBuilderValue) extends Product with Serializable

    A single field of an object value.

  3. case class ConcatPart(whitespace: String, value: ConfigBuilderValue) extends Product with Serializable

    A single part of a concatenated value with the whitespace between this and the previous value preserved.

  4. case class ConcatValue(first: ConfigBuilderValue, rest: Seq[ConcatPart]) extends ConfigBuilderValue with Product with Serializable

    A concatenated value (either all objects, all arrays, all simple values or invalid).

  5. sealed trait ConfigBuilderValue extends Product with Serializable

    The base trait of the interim configuration model (usually obtained from a HOCON parser).

    The base trait of the interim configuration model (usually obtained from a HOCON parser).

    This type is not exposed to public APIs as it will be translated to a final object structure later. It contains instances representing interim constructs like concatenated values or substitution variables which will not be present in the final model.

  6. case class IncludeAny(resourceId: StringBuilderValue, isRequired: Boolean = false) extends IncludeResource with Product with Serializable
  7. case class IncludeBuilderValue(resource: IncludeResource) extends ConfigBuilderValue with Product with Serializable
  8. case class IncludeClassPath(resourceId: StringBuilderValue, isRequired: Boolean = false) extends IncludeResource with Product with Serializable
  9. case class IncludeFile(resourceId: StringBuilderValue, isRequired: Boolean = false) extends IncludeResource with Product with Serializable
  10. sealed trait IncludeResource extends AnyRef

    Description of a resource to be included in the current configuration.

  11. case class IncludeUrl(resourceId: StringBuilderValue, isRequired: Boolean = false) extends IncludeResource with Product with Serializable
  12. case class InvalidBuilderValue(value: ConfigBuilderValue, failure: Failure) extends ConfigBuilderValue with Product with Serializable
  13. case class InvalidStringValue(value: String, failure: Failure) extends StringBuilderValue with Product with Serializable
  14. case class MergedValue(values: Seq[ConfigBuilderValue]) extends ConfigBuilderValue with Product with Serializable

    A merged value with "last one wins" semantics for the provided values (objects will be merged instead).

  15. case class ObjectBuilderValue(values: Seq[BuilderField]) extends ConfigBuilderValue with Product with Serializable

    An object value with all its fields.

  16. case class ResolvedBuilderValue(value: SimpleConfigValue) extends ConfigBuilderValue with Product with Serializable

    A simple configuration value that does not need to be recursively resolved.

  17. sealed trait StringBuilderValue extends ConfigBuilderValue
  18. case class SubstitutionValue(ref: Key, optional: Boolean) extends ConfigBuilderValue with Product with Serializable

    A substitution reference that may be marked as optional.

  19. case class ValidStringValue(value: String) extends StringBuilderValue with Product with Serializable

Value Members

  1. object BuilderField extends Serializable
  2. object ConfigResolver

    Translates the interim configuration model (usually obtained from a HOCON parser) into the final object model.

    Translates the interim configuration model (usually obtained from a HOCON parser) into the final object model. It turns a root ObjectBuilderValue into a root ObjectValue.

    The translation step involves the following steps:

    - Expand keys (e.g. { a.b.c = 7 } will become { a = { b = { c = 7 }}} - Merge objects with a common base path - Merge concatenated values (e.g. [1,2] [3,4] will become [1,2,3,4] - Resolve substitution variables (potentially using the provided fallback if not found in in the provided unresolved root)

    - Expand keys (e.g. { a.b.c = 7 } will become { a = { b = { c = 7 }}} - Merge objects with a common base path - Merge concatenated values (e.g. [1,2] [3,4] will become [1,2,3,4] - Resolve substitution variables (potentially using the provided fallback if not found in in the provided unresolved root)

  3. object HoconParsers

    The parser implementation for the HOCON format.

    The parser implementation for the HOCON format.

    It currently supports the full spec as documented in https://github.com/lightbend/config/blob/master/HOCON.md.

  4. object SelfReference extends ConfigBuilderValue with Product with Serializable

    A marker for a self reference, a reference to an earlier definition with the same key.

  5. object SubstitutionValue extends Serializable

Ungrouped