Search in sources :

Example 1 with ForAll

use of org.btrplace.safeplace.spec.prop.ForAll in project scheduler by btrplace.

the class MyCstrSpecVisitor method visitAll.

@Override
public Proposition visitAll(@NotNull CstrSpecParser.AllContext ctx) {
    List<UserVar<?>> vars = visitTypedef(ctx.typedef());
    Proposition p = (Proposition) visit(ctx.formula());
    return new ForAll(vars, p);
}
Also used : Proposition(org.btrplace.safeplace.spec.prop.Proposition) ProtectedProposition(org.btrplace.safeplace.spec.prop.ProtectedProposition) ForAll(org.btrplace.safeplace.spec.prop.ForAll) UserVar(org.btrplace.safeplace.spec.term.UserVar)

Aggregations

ForAll (org.btrplace.safeplace.spec.prop.ForAll)1 Proposition (org.btrplace.safeplace.spec.prop.Proposition)1 ProtectedProposition (org.btrplace.safeplace.spec.prop.ProtectedProposition)1 UserVar (org.btrplace.safeplace.spec.term.UserVar)1