More refactoring

* Renamed ParserYamlStream to ParserContext
 * Moved almost all internal state from YamlParser to ParserContext
This commit is contained in:
Felix Krause 2016-08-17 22:21:34 +02:00
parent b83babf808
commit 30365d2f17
2 changed files with 851 additions and 855 deletions

File diff suppressed because it is too large Load Diff

View File

@ -159,19 +159,9 @@ type
## ``yamlEndDocument`` is yielded).
tagLib: TagLibrary
callback: WarningCallback
anchors: Table[string, AnchorId]
lexer: BaseLexer
tokenstart: int
content, after: string
ancestry: seq[FastParseLevel]
level: FastParseLevel
tagUri: string
tag: TagId
anchor: AnchorId
shorthands: Table[string, string]
anchors: Table[string, AnchorId]
nextAnchorId: AnchorId
newlines: int
indentation: int
PresentationStyle* = enum
## Different styles for YAML character stream output.