Class ContainsCursor

java.lang.Object
org.ek9lang.compiler.repair.expressions.ContainsCursor

final class ContainsCursor extends Object
Does a rule's token range contain the cursor (line, col)? Both 1-based, the end inclusive. (Was two identical private copies in StringExpressionClassifier, one for an expression and one for any rule.)
  • Constructor Details

    • ContainsCursor

      ContainsCursor()
  • Method Details

    • test

      boolean test(org.antlr.v4.runtime.ParserRuleContext ctx, int line, int col)