package de.bmoth.parser.ast.nodes;

import org.antlr.v4.runtime.tree.ParseTree;

public abstract class PredicateNode extends TypedNode {

    public PredicateNode(ParseTree context) {
        super(context);
    }

}

@@ -29,16 +29,42 @@
 nodes;%0A%0A
+import java.util.Arrays;%0A%0A
 import o
@@ -100,16 +100,91 @@
 eTree;%0A%0A
+import de.bmoth.parser.ast.nodes.PredicateOperatorNode.PredicateOperator;%0A%0A
 public a
@@ -309,10 +309,172 @@
 %0A    %7D%0A%0A
+    public PredicateNode getNegatedPredicateNode() %7B%0A        return new PredicateOperatorNode(getParseTree(), PredicateOperator.NOT, Arrays.asList(this));%0A    %7D%0A%0A
 %7D%0A

add method getNegatedPredicateNode