Package org.openrewrite.yaml
Class YamlParser
- java.lang.Object
-
- org.openrewrite.yaml.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 booleanaccept(java.nio.file.Path path)java.util.List<Yaml.Documents>parse(java.lang.String... sources)java.util.List<Yaml.Documents>parseInputs(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)
-
-
-
Method Detail
-
parse
public java.util.List<Yaml.Documents> parse(java.lang.String... sources)
- Specified by:
parsein interfaceorg.openrewrite.Parser<Yaml.Documents>
-
parseInputs
public java.util.List<Yaml.Documents> parseInputs(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)
- Specified by:
parseInputsin interfaceorg.openrewrite.Parser<Yaml.Documents>
-
accept
public boolean accept(java.nio.file.Path path)
- Specified by:
acceptin interfaceorg.openrewrite.Parser<Yaml.Documents>
-
-