Resolver

Resolves YAML tags (data types).

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

Constructors

this
this(Flag!"useDefaultImplicitResolvers" defaultImplicitResolvers)

Construct a Resolver.

Destructor

~this
~this()

Destroy the Resolver.

Members

Functions

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

Add an implicit scalar resolver.

opCmp
int opCmp(Resolver )
Undocumented in source.
opEquals
bool opEquals(Resolver )
Undocumented in source.
resolve
Tag resolve(NodeID kind, Tag tag, string value, bool implicit)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

defaultMappingTag
Tag defaultMappingTag [@property getter]

Return default mapping tag.

defaultScalarTag
Tag defaultScalarTag [@property getter]

Return default scalar tag.

defaultSequenceTag
Tag defaultSequenceTag [@property getter]

Return default sequence tag.

Meta