Class IsWithin
java.lang.Object
org.ek9lang.compiler.support.trees.IsWithin
- All Implemented Interfaces:
BiPredicate<org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.ParseTree>
public final class IsWithin
extends Object
implements BiPredicate<org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.ParseTree>
THE test for "is this node anywhere inside that one (strictly below it)". Hold one and test with it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(org.antlr.v4.runtime.tree.ParseTree node, org.antlr.v4.runtime.tree.ParseTree possibleAncestor) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
IsWithin
public IsWithin()
-
-
Method Details
-
test
public boolean test(org.antlr.v4.runtime.tree.ParseTree node, org.antlr.v4.runtime.tree.ParseTree possibleAncestor) - Specified by:
testin interfaceBiPredicate<org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.ParseTree>
-