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 classConfigure your ownSourceFilterbefore creating its instance. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceFilter.BuilderCreates a newSourceFilterexpression using abuilderpattern.
-
Field Details
-
ANY
-
-
Method Details
-
newBuilder
Creates a newSourceFilterexpression using abuilderpattern. 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
SourceFilterinstances - Since:
- 0.32
- See Also:
-