private static String prevModule = "";
public void enter(/*@NotNull*/ InstructionInfo info, XPathContext context) {
int infotype = info.getConstructType();
StructuredQName qName = info.getObjectName();
String tag = tag(infotype);
if (tag==null) {
// this TraceListener ignores some events to reduce the volume of output
return;
}
String file = StandardErrorListener.abbreviatePath(info.getSystemId());
String msg = AbstractTraceListener.spaces(indent) + '<' + tag;
String name = (String)info.getProperty("name");
if (name!=null) {
msg += " name=\"" + escape(name) + '"';
} else if (qName != null) {
msg += " name=\"" + escape(qName.getDisplayName()) + '"';
}
Iterator props = info.getProperties();
while (props.hasNext()) {