Class IsSmallerSpan
java.lang.Object
org.ek9lang.compiler.repair.expressions.IsSmallerSpan
- All Implemented Interfaces:
BiPredicate<org.antlr.v4.runtime.ParserRuleContext, org.antlr.v4.runtime.ParserRuleContext>
final class IsSmallerSpan
extends Object
implements BiPredicate<org.antlr.v4.runtime.ParserRuleContext, org.antlr.v4.runtime.ParserRuleContext>
Does the first rule's character span lie within the second's and differ from it - is it strictly smaller? (Was two
identical private copies in
StringExpressionClassifier.) By character index, not by tree ancestry - that is
IsWithin.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(org.antlr.v4.runtime.ParserRuleContext a, org.antlr.v4.runtime.ParserRuleContext b) 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
-
IsSmallerSpan
IsSmallerSpan()
-
-
Method Details
-
test
public boolean test(org.antlr.v4.runtime.ParserRuleContext a, org.antlr.v4.runtime.ParserRuleContext b) - Specified by:
testin interfaceBiPredicate<org.antlr.v4.runtime.ParserRuleContext, org.antlr.v4.runtime.ParserRuleContext>
-