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,
Container container)
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, Container container)
target - the clause whose execution is being tracedenv - the static context of the containing FLWOR expressioncontainer - the container of the FLWOR expression (providing location information)Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.