File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
compiler/src/dotty/tools/dotc/parsing Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1313,17 +1313,6 @@ object Scanners {
13131313 quoteCount
13141314 }
13151315
1316- /** Parse dedented string content, with optional $ interpolation handling.
1317- * This collects content until hitting $ (if interpolated) or closing delimiter.
1318- * Respects the quote count for extended delimiters.
1319- *
1320- * @param quoteCount The number of quotes in the delimiter (3 for ''', 4 for '''', etc.)
1321- * @param isInterpolated If true, handles $ expressions and returns STRINGPART tokens.
1322- * If false, treats $ as regular content and returns STRINGLIT.
1323- *
1324- * Note: Interpolated strings do NOT dedent during parsing - dedenting must be handled
1325- * at runtime after all parts are assembled. Non-interpolated strings dedent after collection.
1326- */
13271316 @ tailrec private def getDedentedStringPartWithDelimiter (quoteCount : Int , isInterpolated : Boolean ): Unit =
13281317 // Check for closing delimiter with correct quote count
13291318 if (ch == '\' ' ) {
You can’t perform that action at this time.
0 commit comments