Class TSCMapper

java.lang.Object
org.openrewrite.javascript.internal.TSCMapper
All Implemented Interfaces:
AutoCloseable

public abstract class TSCMapper extends Object implements AutoCloseable
  • Constructor Details

    • TSCMapper

      public TSCMapper(@Nullable @Nullable Path relativeTo, org.openrewrite.tree.ParsingExecutionContextView pctx)
  • Method Details

    • add

      public void add(org.openrewrite.Parser.Input input)
    • onParseFailure

      protected abstract void onParseFailure(org.openrewrite.Parser.Input input, Throwable error)
    • build

      public List<JS.CompilationUnit> build()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable