Class TraceInstruction

All Implemented Interfaces:
Serializable, SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, TailCallReturner, InstructionInfo, Locator

public class TraceInstruction extends TraceWrapper
A run-time instruction which wraps a real instruction and traces its entry and exit to the TraceListener
See Also:
  • Constructor Details

    • TraceInstruction

      public TraceInstruction(Expression child, InstructionInfo details)
      Create a Trace instruction
      Parameters:
      child - the child instruction to be evaluated
      details - the details to be output. This will usually relate to a function or template header.
  • Method Details

    • getInstructionInfo

      public InstructionInfo getInstructionInfo()
      Get the instruction details
      Overrides:
      getInstructionInfo in class TraceWrapper
      Returns:
      the details of the child instruction (the instruction being traced)