Resolver

Resolves YAML tags (data types).

Can be used to implicitly resolve custom data types of scalar values.

Constructors

this
this(Flag!"useDefaultImplicitResolvers" defaultImplicitResolvers = Yes.useDefaultImplicitResolvers)

Construct a Resolver.

Members

Functions

addImplicitResolver
void addImplicitResolver(string tag, Regex!char regexp, string first)

Add an implicit scalar resolver.

resolve
string resolve(const NodeID kind, const string tag, const string value, const bool implicit)

Resolve tag of a node.

Properties

defaultMappingTag
string defaultMappingTag [@property getter]
defaultScalarTag
string defaultScalarTag [@property getter]
defaultSequenceTag
string defaultSequenceTag [@property getter]

Meta