Module configy.backend.node

Abstract away the underlying node type implementation

While Configy was originally written to be a YAML configuration parser, it has been extended to support other kind of configuration. All one needs is to define a class overriding ConfigNode and implementing the appropriate methods.

Functions

NameDescription
has(map, key) Convenience function to find a specific key in a mapping
isScalarValue(node, value) Convenience function to compare a node to a specific scalar
toString(type)
withNode(map, key, dg) Convenience function to find a specific key in a mapping

Interfaces

NameDescription
Mapping Represent a mapping / object in a document
Node An abstract Node in a structured document
Scalar Represent a scalar: anything that can be represented as a simple string
Sequence Represent a sequence / array in a document

Structs

NameDescription
Location The location of the node in the file (if there is a file)