Class NearestSectionsFinder

java.lang.Object
org.graalvm.tools.lsp.server.utils.NearestSectionsFinder

public final class NearestSectionsFinder extends Object
  • Method Details

    • findNearestNode

      public static NearestNode findNearestNode(com.oracle.truffle.api.source.Source source, int line, int character, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, com.oracle.truffle.api.TruffleLogger logger)
    • findExprNodeBeforePos

      public static NearestNode findExprNodeBeforePos(com.oracle.truffle.api.source.Source source, int line, int column, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env)
    • findNearestSections

      public static NearestSectionsFinder.NearestSections findNearestSections(com.oracle.truffle.api.source.Source source, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, int oneBasedLineNumber, int column, boolean instrumentableNodesOnly, Class<?>... tags)
    • findNearestSections

      protected static NearestSectionsFinder.NearestSections findNearestSections(com.oracle.truffle.api.source.Source source, com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, int offset, boolean instrumentableNodesOnly, Class<?>... tags)