o

laika.parse.hocon

HoconParsers

object HoconParsers

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HoconParsers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ClosingParserOps[T] extends AnyRef
  2. case class PathFragments(fragments: Seq[StringBuilderValue]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def anyValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]

    Parses any kind of value supported by the HOCON format.

  5. lazy val arrayValue: Parser[ConfigBuilderValue]

    Parses an array value recursively.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val comment: Parser[String]

    Parses a comment.

  9. def concatenatedKey(delimiter: NonEmptySet[Char]): Parser[Either[InvalidStringValue, Key]]

    Parses a key based on the HOCON rules where a '.' in a quoted string is not interpreted as a path separator.

  10. def concatenatedValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]
  11. val consumeAllInput: Parser[Unit]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def failWith[T](fallbackParser: Parser[Int], msg: ⇒ String)(captureError: (Failure) ⇒ T): Parser[T]
  15. val falseValue: Parser[ConfigBuilderValue]

    Parses a literal false value.

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val include: Parser[ConfigBuilderValue]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def lazily[T](parser: ⇒ Parser[T]): Parser[T]
  21. val multilineString: Parser[ConfigBuilderValue]

    Parses a string enclosed in triple quotes.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val nullValue: Parser[ConfigBuilderValue]

    Parses a null value.

  26. val numberValue: Parser[ConfigBuilderValue]

    Parses a literal number value into a Long or Double depending on whether a fraction part is present.

  27. lazy val objectValue: Parser[ConfigBuilderValue]

    Parses an object value enclosed in braces.

  28. val quotedString: Parser[StringBuilderValue]

    Parses a string enclosed in quotes.

  29. lazy val rootObject: Parser[ObjectBuilderValue]

    Parses a root configuration object where the enclosing braces may be omitted.

  30. def stringBuilderValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]

    Parses any of the 3 string types (quoted, unquoted, triple-quoted).

  31. val substitutionValue: Parser[ConfigBuilderValue]

    Parses a substitution variable.

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. val trueValue: Parser[ConfigBuilderValue]

    Parses a literal true value.

  35. def unquotedString(delimiters: NonEmptySet[Char]): Parser[StringBuilderValue]

    Parses an unquoted string that is not allowed to contain any of the reserved characters listed in the HOCON spec.

  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. val wsOrComment: Parser[Any]

    Parses the rest of the current line if it contains either just whitespace or a comment.

  40. val wsOrNl: Characters[String]

    Parses whitespace or newline characters.

  41. object PathFragments extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped