TimingCodeInjector
, TraceCodeInjector
, XSLTTraceCodeInjector
public interface CodeInjector
Modifier and Type | Method | Description |
---|---|---|
Expression |
inject(Expression exp,
StaticContext env,
int construct,
StructuredQName qName) |
If tracing, wrap an expression in a trace instruction
|
Clause |
injectClause(Clause target,
StaticContext env,
Container container) |
Insert a tracing clause into a FLWOR expression
|
Expression inject(Expression exp, StaticContext env, int construct, StructuredQName qName)
exp
- the expression to be wrappedenv
- the static contextconstruct
- integer constant identifying the kind of constructqName
- the name of the construct (if applicable)Clause injectClause(Clause target, StaticContext env, Container container)