mirror of https://github.com/status-im/NimYAML.git
experimental: notnil
This commit is contained in:
parent
2328289dba
commit
51d33d4a05
|
@ -23,6 +23,8 @@ import tables, streams, hashes, sets, strutils
|
||||||
import stream, taglib, serialization, private/internal, parser,
|
import stream, taglib, serialization, private/internal, parser,
|
||||||
presenter
|
presenter
|
||||||
|
|
||||||
|
when defined(nimNoNil):
|
||||||
|
{.experimental: "notnil".}
|
||||||
type
|
type
|
||||||
YamlNodeKind* = enum
|
YamlNodeKind* = enum
|
||||||
yScalar, yMapping, ySequence
|
yScalar, yMapping, ySequence
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# NimYAML - YAML implementation in Nim
|
# NimYAML - YAML implementation in Nim
|
||||||
# (c) Copyright 2016 Felix Krause
|
# (c) Copyright 2016 Felix Krause
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
|
@ -15,6 +15,9 @@
|
||||||
import hashes
|
import hashes
|
||||||
import private/internal, taglib
|
import private/internal, taglib
|
||||||
|
|
||||||
|
when defined(nimNoNil):
|
||||||
|
{.experimental: "notnil".}
|
||||||
|
|
||||||
when defined(yamlScalarRepInd):
|
when defined(yamlScalarRepInd):
|
||||||
type ScalarRepresentationIndicator* = enum
|
type ScalarRepresentationIndicator* = enum
|
||||||
srPlain, srSingleQuoted, srDoubleQuoted, srLiteral, srFolded
|
srPlain, srSingleQuoted, srDoubleQuoted, srLiteral, srFolded
|
||||||
|
|
Loading…
Reference in New Issue