public interface CodeInjector
Modifier and Type | Method and Description |
---|---|
Expression |
inject(Expression exp,
StaticContext env,
int construct,
StructuredQName qName)
Wrap an expression in a diagnostic expression.
|
Clause |
injectClause(Clause target,
StaticContext env)
Insert a tracing clause into the pipeline of clauses that evaluates 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)
target
- the clause whose execution is being tracedenv
- the static context of the containing FLWOR expressionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.