Class SourcePredicateBuilder
java.lang.Object
org.graalvm.tools.lsp.server.utils.SourcePredicateBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicatebuild()excludeInternal(org.graalvm.options.OptionValues options) language(com.oracle.truffle.api.nodes.LanguageInfo languageInfo) static SourcePredicateBuildernewestSource(TextDocumentSurrogateMap surrogateMap) uriOrTruffleName(URI uri) A special method to filter for either the URI of aSourceor via the name.
-
Method Details
-
uriOrTruffleName
A special method to filter for either the URI of aSourceor via the name. Some languages create sources in a way that no URI is set, only theSource's name which is the path of the source.- Parameters:
uri-
-
language
-
excludeInternal
-
newestSource
-
build
public com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate build() -
newBuilder
-