@Override public void start() { assert predicateResult != Boolean.FALSE; assert !finished; if (event.hasInstantListener(expression)) { if (listener instanceof LocationEvaluation) predicateChain = ((LocationEvaluation) listener).predicateChain; else predicateChain = 0; if (predicateEvaluation != null) predicateChain++; } if (predicateEvaluation != null) { Expression predicate = predicateEvaluation.expression; if (predicate.scope() != Scope.DOCUMENT) predicateEvaluation.start(); } eventID.addListener(event, currentStep, this); }