201202203204205206207208209210211212213
} } private boolean checkWhenFor(AWhenStm node) throws Throwable { PExp forExp = whenForExp.get(node); if (forExp != null) { Value v = forExp.apply(expEval); return (v instanceof BooleanValue && ((BooleanValue) v).value); } return false; }
212213214215216217218219220221222223224
return false; } private boolean checkOnceFor(AOnceStm node) throws Throwable { PExp forExp = onceForExp.get(node); if (forExp != null) { Value v = forExp.apply(expEval); return (v instanceof BooleanValue && ((BooleanValue) v).value); } return false; }