Class YamlParser

  • All Implemented Interfaces:
    org.openrewrite.Parser<Yaml.Documents>

    public class YamlParser
    extends java.lang.Object
    implements org.openrewrite.Parser<Yaml.Documents>
    • Constructor Summary

      Constructors 
      Constructor Description
      YamlParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Yaml.Documents> parse​(java.util.List<java.lang.String> sourceFiles)  
      java.util.List<Yaml.Documents> parse​(java.util.List<java.nio.file.Path> sourceFiles, java.nio.file.Path relativeTo)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openrewrite.Parser

        parse, parse, reset
    • Constructor Detail

      • YamlParser

        public YamlParser()
    • Method Detail

      • parse

        public java.util.List<Yaml.Documents> parse​(java.util.List<java.nio.file.Path> sourceFiles,
                                                    @Nullable
                                                    java.nio.file.Path relativeTo)
        Specified by:
        parse in interface org.openrewrite.Parser<Yaml.Documents>
      • parse

        public java.util.List<Yaml.Documents> parse​(java.util.List<java.lang.String> sourceFiles)
        Specified by:
        parse in interface org.openrewrite.Parser<Yaml.Documents>