Class YamlParser<E>


  • public class YamlParser<E>
    extends Object
    Author:
    hmlnarik
    • Constructor Detail

      • YamlParser

        protected YamlParser​(org.snakeyaml.engine.v2.parser.Parser p,
                             BlockContext<E> initialContext)
    • Method Detail

      • parse

        public static <E> E parse​(Path path,
                                  BlockContext<E> initialContext)
      • parse

        protected <E> E parse()
      • parseNode

        protected Object parseNode()
      • parseSequence

        protected Object parseSequence()
        Parses a sequence node inside the current context. Each sequence item is parsed in the context supplied by the current
        Returns:
      • parseMapping

        protected Object parseMapping()
        Parses a mapping node inside the current context. Each mapping value is parsed in the context supplied by the current context for the mapping key.
        Returns:
      • parseScalar

        protected Object parseScalar​(org.snakeyaml.engine.v2.events.ScalarEvent se)
        Parses a scalar node inside the current context.
        Returns: