Resolver

Resolves YAML tags (data types).

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

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
string resolve(NodeID kind, string tag, string value, bool implicit)

Resolve tag of a node.

Properties

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

Static functions

withDefaultResolvers
auto withDefaultResolvers()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta