collectionStyleHack

Get the collection style a YAML node had in the file it was loaded from.

May only be called on collection nodes (nodes where node.isScalar() != true).

  1. CollectionStyle collectionStyleHack(ref const(Node) node)
    collectionStyleHack
    @safe nothrow
    (
    ref const(Node) node
    )
  2. void collectionStyleHack(ref Node node, const CollectionStyle rhs)

See Also

scalarStyleHack

Meta