public interface CodeInjector
Modifier and Type | Method and Description |
---|---|
default Expression |
inject(Expression exp)
Process an expression.
|
default Clause |
injectClause(FLWORExpression expression,
Clause clause)
Insert a tracing or monitoring clause into the pipeline of clauses that evaluates a FLWOR expression
|
default void |
process(TraceableComponent component)
Process a component such as a function, template, or global variable.
|
default Expression inject(Expression exp)
exp
- the expression to be processedTraceExpression
; possibly a modified version of the original expression.
The default implementation returns the supplied expression unchanged.default void process(TraceableComponent component)
component
- the component to be processeddefault Clause injectClause(FLWORExpression expression, Clause clause)
expression
- the containing FLWOR expressionclause
- the clause whose execution is being monitoredCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.