UNPKG

yaml-unist-parser

Version:

A YAML parser that produces output compatible with unist

4 lines 1.25 kB
import { Alias, Anchor, BlockFolded, BlockLiteral, BlockValue, Comment, CommentAttachable, Content, ContentNode, Directive, Document, DocumentBody, DocumentHead, EndCommentAttachable, FlowCollection, FlowMapping, FlowMappingItem, FlowSequence, FlowSequenceItem, LeadingCommentAttachable, Literal, Mapping, MappingItem, MappingItemBase, MappingKey, MappingValue, Node, Parent, ParseOptions, Plain, Point, Position, QuoteDouble, QuoteSingle, QuoteValue, Range, Root, Sequence, SequenceItem, SequenceItemBase, Tag, TrailingCommentAttachable, YamlUnistNode } from "./types.mjs"; import { parse } from "./parse.mjs"; import { YAMLSyntaxError } from "./yaml-syntax-error.mjs"; export { Alias, Anchor, BlockFolded, BlockLiteral, BlockValue, Comment, CommentAttachable, Content, ContentNode, Directive, Document, DocumentBody, DocumentHead, EndCommentAttachable, FlowCollection, FlowMapping, FlowMappingItem, FlowSequence, FlowSequenceItem, LeadingCommentAttachable, Literal, Mapping, MappingItem, MappingItemBase, MappingKey, MappingValue, Node, Parent, ParseOptions, Plain, Point, Position, QuoteDouble, QuoteSingle, QuoteValue, Range, Root, Sequence, SequenceItem, SequenceItemBase, Tag, TrailingCommentAttachable, YAMLSyntaxError, YamlUnistNode, parse };