Class OmniParser

java.lang.Object
org.openrewrite.OmniParser
All Implemented Interfaces:
org.openrewrite.Parser

@Deprecated public class OmniParser extends Object implements org.openrewrite.Parser
Deprecated.
This class has been moved to rewrite-polyglot.
  • Constructor Details

    • OmniParser

      public OmniParser()
      Deprecated.
  • Method Details

    • parseAll

      public Stream<org.openrewrite.SourceFile> parseAll(Path rootDir)
      Deprecated.
    • parse

      public Stream<org.openrewrite.SourceFile> parse(Iterable<Path> sourceFiles, @Nullable @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx)
      Deprecated.
      Specified by:
      parse in interface org.openrewrite.Parser
    • acceptedPaths

      public List<Path> acceptedPaths(Path rootDir)
      Deprecated.
    • parseInputs

      public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sources, @Nullable @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx)
      Deprecated.
      Specified by:
      parseInputs in interface org.openrewrite.Parser
    • accept

      public boolean accept(Path path)
      Deprecated.
      Specified by:
      accept in interface org.openrewrite.Parser
    • sourcePathFromSourceText

      public Path sourcePathFromSourceText(Path prefix, String sourceCode)
      Deprecated.
      Specified by:
      sourcePathFromSourceText in interface org.openrewrite.Parser
    • builder

      public static OmniParser.Builder builder()
      Deprecated.