Class TruffleAdapter

java.lang.Object
org.graalvm.tools.lsp.server.TruffleAdapter
All Implemented Interfaces:
VirtualLanguageServerFileProvider

public final class TruffleAdapter extends Object implements VirtualLanguageServerFileProvider
This class delegates LSP requests of LanguageServerImpl to specific implementations of AbstractRequestHandler. It is responsible for wrapping requests into tasks for an instance of ContextAwareExecutor, so that these tasks are executed by a Thread which has entered a Context.
  • Constructor Details

    • TruffleAdapter

      public TruffleAdapter(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env mainEnv, boolean developerMode)
  • Method Details