Search in sources :

Example 6 with PLtl

use of de.be4.ltl.core.parser.node.PLtl in project probparsers by bendisposto.

the class PrologGeneratorHelper method ctrl.

public void ctrl(ACtrlLtl node, PrologGenerator gen) {
    LinkedList<PActions> list = node.getArgs();
    pto.openTerm("ap");
    pto.openTerm("ctrl");
    pto.openList();
    for (PActions pLtl : list) {
        pLtl.apply(gen);
    }
    pto.closeList();
    pto.closeTerm();
    pto.closeTerm();
}
Also used : PActions(de.be4.ltl.core.parser.node.PActions)

Aggregations

PActions (de.be4.ltl.core.parser.node.PActions)3 PLtl (de.be4.ltl.core.parser.node.PLtl)2 AIdentifierExpression (de.be4.classicalb.core.parser.node.AIdentifierExpression)1 TIdentifierLiteral (de.be4.classicalb.core.parser.node.TIdentifierLiteral)1 ArrayList (java.util.ArrayList)1 Hashtable (java.util.Hashtable)1