This is a fork of JS-YAML which supports parsing of YAML into AST.
In additional to parsing YAML to AST, it has following features:
- restoration after the errors and reporting errors as a part of AST nodes.
- built-in support for
!includetag used in RAML
load method can be used to load the tree and returns
YAMLNode class is an ancestor for all node kinds.
kind field determine node kind, one of
INCLUDE_REF. After node kind is determined, it can be casted to one of the
YAMLNode class provide node range.
YAMLScalar has string
YAMLAnchorReference has string