Class ConcatAtCursor
java.lang.Object
org.ek9lang.compiler.repair.expressions.ConcatAtCursor
THE whole
+ chain (WholeAddChain) round the cursor: the smallest binary + expression
containing it, then its chain (was StringExpressionClassifier.findEnclosingConcatExpression). Used by the
IDE's right-click "Rewrite to Backtick Interpolation": the user clicks anywhere inside the concat (including on an
operand) and the enclosing concat is rewritten, not the operand - and all of it: the smallest alone wrote
`Hello ${name}` + "!". Null when no concat spans the cursor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(org.antlr.v4.runtime.tree.ParseTree root, int line, int col) The whole concat chain round the cursor, or null.
-
Constructor Details
-
ConcatAtCursor
public ConcatAtCursor()
-
-
Method Details
-
apply
public EK9Parser.ExpressionContext apply(org.antlr.v4.runtime.tree.ParseTree root, int line, int col) The whole concat chain round the cursor, or null.
-