com.github.lizardev.xquery.saxon.coverage.collect.InstructionCollector Maven / Gradle / Ivy
package com.github.lizardev.xquery.saxon.coverage.collect;
import com.github.lizardev.xquery.saxon.coverage.trace.CoverageInstruction;
public class InstructionCollector {
private final CoverageInstruction instruction;
private boolean instructionInvoked;
private boolean instructionSimplified;
public InstructionCollector(CoverageInstruction instruction) {
this.instruction = instruction;
}
public void instructionInvoked() {
instructionInvoked = true;
}
public boolean isInstructionInvoked() {
return instructionInvoked;
}
public String getInstruction() {
return instruction.getInstruction();
}
public void instructionSimplified() {
instructionSimplified = true;
}
public boolean isInstructionSimplified() {
return instructionSimplified;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy