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.
- Alphabetic
- By Inheritance
- HoconParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class ClosingParserOps[T] extends AnyRef
- case class PathFragments(fragments: Seq[StringBuilderValue]) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
anyValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]
Parses any kind of value supported by the HOCON format.
-
lazy val
arrayValue: Parser[ConfigBuilderValue]
Parses an array value recursively.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
comment: Parser[String]
Parses a comment.
-
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.
- def concatenatedValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]
- val consumeAllInput: Parser[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def failWith[T](fallbackParser: Parser[Int], msg: ⇒ String)(captureError: (Failure) ⇒ T): Parser[T]
-
val
falseValue: Parser[ConfigBuilderValue]
Parses a literal false value.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val include: Parser[ConfigBuilderValue]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lazily[T](parser: ⇒ Parser[T]): Parser[T]
-
val
multilineString: Parser[ConfigBuilderValue]
Parses a string enclosed in triple quotes.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
nullValue: Parser[ConfigBuilderValue]
Parses a null value.
-
val
numberValue: Parser[ConfigBuilderValue]
Parses a literal number value into a Long or Double depending on whether a fraction part is present.
-
lazy val
objectValue: Parser[ConfigBuilderValue]
Parses an object value enclosed in braces.
-
val
quotedString: Parser[StringBuilderValue]
Parses a string enclosed in quotes.
-
lazy val
rootObject: Parser[ObjectBuilderValue]
Parses a root configuration object where the enclosing braces may be omitted.
-
def
stringBuilderValue(delimiter: NonEmptySet[Char]): Parser[ConfigBuilderValue]
Parses any of the 3 string types (quoted, unquoted, triple-quoted).
-
val
substitutionValue: Parser[ConfigBuilderValue]
Parses a substitution variable.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
trueValue: Parser[ConfigBuilderValue]
Parses a literal true value.
-
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
wsOrComment: Parser[Any]
Parses the rest of the current line if it contains either just whitespace or a comment.
-
val
wsOrNl: Characters[String]
Parses whitespace or newline characters.
- object PathFragments extends Serializable