Class SourceFilter
java.lang.Object
com.oracle.truffle.api.instrumentation.SourceFilter
A source filter represents an expression for a subset of guest language sources that are used in
an Truffle interpreter.
Start building event filters by calling newBuilder()
and complete them by
calling SourceFilter.Builder.build()
.
- Since:
- 0.32
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
Configure your ownSourceFilter
before creating its instance. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceFilter.Builder
Creates a newSourceFilter
expression using abuilder
pattern.
-
Field Details
-
ANY
-
-
Method Details
-
newBuilder
Creates a newSourceFilter
expression using abuilder
pattern. Individual builder statements are interpreted as conjunctions (AND) while multiple parameters for individual filter expressions are treated as disjunctions (OR). To create the final filter finalize the expression usingSourceFilter.Builder.build()
.- Returns:
- a new builder to create new
SourceFilter
instances - Since:
- 0.32
- See Also:
-