Interface CodeInjector

    • Method Detail

      • inject

        Expression inject​(Expression exp,
                          StaticContext env,
                          int construct,
                          StructuredQName qName)
        If tracing, wrap an expression in a trace instruction
        Parameters:
        exp - the expression to be wrapped
        env - the static context
        construct - integer constant identifying the kind of construct
        qName - the name of the construct (if applicable)
        Returns:
        a replacement for the original expression (or the original expression unchanged)