Class JavaScriptParser

java.lang.Object
org.openrewrite.javascript.JavaScriptParser
All Implemented Interfaces:
org.openrewrite.Parser

@Deprecated public class JavaScriptParser extends Object implements org.openrewrite.Parser
Deprecated.
in favor RemotingInputParser
  • Constructor Details

    • JavaScriptParser

      public JavaScriptParser()
      Deprecated.
  • Method Details

    • parse

      public Stream<org.openrewrite.SourceFile> parse(String... sources)
      Deprecated.
      Specified by:
      parse in interface org.openrewrite.Parser
    • parseInputs

      public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> inputs, @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
    • reset

      public JavaScriptParser reset()
      Deprecated.
      Specified by:
      reset in interface org.openrewrite.Parser
    • usingRemotingInstallation

      public static JavaScriptParser.Builder usingRemotingInstallation(Path dir)
      Deprecated.
    • builder

      public static JavaScriptParser.Builder builder()
      Deprecated.
    • isServerRunning

      public static boolean isServerRunning(int port)
      Deprecated.