mirror of https://github.com/status-im/NimYAML.git
Moved private sources to yaml/private
This commit is contained in:
parent
d8f6ea5e2d
commit
0ef9cbf535
|
@ -1,4 +1,4 @@
|
||||||
import ../private/lex
|
import ../yaml/private/lex
|
||||||
|
|
||||||
import unittest, strutils
|
import unittest, strutils
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
## objects of Nim's `json module <http://nim-lang.org/docs/json.html>`_.
|
## objects of Nim's `json module <http://nim-lang.org/docs/json.html>`_.
|
||||||
|
|
||||||
import tables, streams, hashes, sets, strutils
|
import tables, streams, hashes, sets, strutils
|
||||||
import stream, taglib, serialization, ../private/internal, parser,
|
import stream, taglib, serialization, private/internal, parser,
|
||||||
presenter
|
presenter
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
## The hints API enables you to guess the type of YAML scalars.
|
## The hints API enables you to guess the type of YAML scalars.
|
||||||
|
|
||||||
import macros
|
import macros
|
||||||
import ../private/internal
|
import private/internal
|
||||||
|
|
||||||
type
|
type
|
||||||
TypeHint* = enum
|
TypeHint* = enum
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
## non-nil string or Stream object as YAML character stream.
|
## non-nil string or Stream object as YAML character stream.
|
||||||
|
|
||||||
import tables, strutils, macros, streams
|
import tables, strutils, macros, streams
|
||||||
import taglib, stream, ../private/lex, ../private/internal
|
import taglib, stream, private/lex, private/internal
|
||||||
|
|
||||||
type
|
type
|
||||||
WarningCallback* = proc(line, column: int, lineContent: string,
|
WarningCallback* = proc(line, column: int, lineContent: string,
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
## This is the presenter API, used for generating YAML character streams.
|
## This is the presenter API, used for generating YAML character streams.
|
||||||
|
|
||||||
import streams, queues, strutils
|
import streams, queues, strutils
|
||||||
import taglib, stream, ../private/internal, hints, parser, stream
|
import taglib, stream, private/internal, hints, parser, stream
|
||||||
|
|
||||||
type
|
type
|
||||||
PresentationStyle* = enum
|
PresentationStyle* = enum
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
## information.
|
## information.
|
||||||
|
|
||||||
import tables, typetraits, strutils, macros, streams, times, parseutils
|
import tables, typetraits, strutils, macros, streams, times, parseutils
|
||||||
import parser, taglib, presenter, stream, ../private/internal, hints
|
import parser, taglib, presenter, stream, private/internal, hints
|
||||||
export stream
|
export stream
|
||||||
# *something* in here needs externally visible `==`(x,y: AnchorId),
|
# *something* in here needs externally visible `==`(x,y: AnchorId),
|
||||||
# but I cannot figure out what. binding it would be the better option.
|
# but I cannot figure out what. binding it would be the better option.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
## stdlib with that name.
|
## stdlib with that name.
|
||||||
|
|
||||||
import hashes
|
import hashes
|
||||||
import ../private/internal, taglib
|
import private/internal, taglib
|
||||||
|
|
||||||
type
|
type
|
||||||
AnchorId* = distinct int ## \
|
AnchorId* = distinct int ## \
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
## structures provided by Nim's stdlib.
|
## structures provided by Nim's stdlib.
|
||||||
|
|
||||||
import json, streams, strutils, tables
|
import json, streams, strutils, tables
|
||||||
import taglib, hints, serialization, stream, ../private/internal, parser
|
import taglib, hints, serialization, stream, private/internal, parser
|
||||||
|
|
||||||
type Level = tuple[node: JsonNode, key: string]
|
type Level = tuple[node: JsonNode, key: string]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue