Class TokenRangeOf
java.lang.Object
org.ek9lang.compiler.repair.expressions.TokenRangeOf
- All Implemented Interfaces:
Function<EK9Parser.ExpressionContext, int[]>
public final class TokenRangeOf
extends Object
implements Function<EK9Parser.ExpressionContext, int[]>
THE token-range bounds of an expression as 1-based (line, col) coordinates,
[startLine, startCol, endLine,
endCol], inclusive on both ends - the shape MCP-tool selection parameters expect; null when the expression has
missing token data (was StringExpressionClassifier.tokenRange).-
Constructor Details
-
TokenRangeOf
public TokenRangeOf()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<EK9Parser.ExpressionContext, int[]>
-