ConfigParseable

An opaque handle to something that can be parsed, obtained from [[ConfigIncludeContext]].

An opaque handle to something that can be parsed, obtained from [[ConfigIncludeContext]].

Do not implement this interface; it should only be implemented by the config library. Arbitrary implementations will not work because the library internals assume a specific concrete implementation. Also, this interface is likely to grow new methods over time, so third-party implementations will break.

class Object
trait Matchable
class Any
class Parseable

Value members

Abstract methods

Get the initial options, which can be modified then passed to parse(). These options will have the right description, includer, and other parameters already set up.

Get the initial options, which can be modified then passed to parse(). These options will have the right description, includer, and other parameters already set up.

Returns

the initial options

Returns a [[ConfigOrigin]] describing the origin of the parseable item.

Returns a [[ConfigOrigin]] describing the origin of the parseable item.

Returns

the origin of the parseable item

Parse whatever it is. The options should come from [[ConfigParseable#options options()]] but you could tweak them if you like.

Parse whatever it is. The options should come from [[ConfigParseable#options options()]] but you could tweak them if you like.

Value Params
options

parse options, should be based on the ones from [[ConfigParseable#options options()]]

Returns

the parsed object