[RESTORED] Spring Support: Implement Spring-specific references
This commit is contained in:
@@ -367,6 +367,9 @@ fun KtStringTemplateExpression.getContentRange(): TextRange {
|
||||
return TextRange(start, if (lastChild.elementType == KtTokens.CLOSING_QUOTE) length - lastChild.textLength else length)
|
||||
}
|
||||
|
||||
val KtStringTemplateExpression.plainContent: String
|
||||
get() = getContentRange().substring(text)
|
||||
|
||||
fun KtStringTemplateExpression.isSingleQuoted(): Boolean
|
||||
= node.firstChildNode.textLength == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user