@@ -1338,7 +1338,7 @@ object Scanners {
1338
1338
* InBraces a pair of braces { ... }
1339
1339
* Indented a pair of <indent> ... <outdent> tokens
1340
1340
*/
1341
- abstract class Region ( val code : String ) :
1341
+ abstract class Region :
1342
1342
/** The region enclosing this one, or `null` for the outermost region */
1343
1343
def outer : Region | Null
1344
1344
@@ -1367,17 +1367,17 @@ object Scanners {
1367
1367
knownWidth = enclosing.knownWidth
1368
1368
end Region
1369
1369
1370
- case class InString (multiLine : Boolean , outer : Region ) extends Region ( " IS " )
1371
- case class InParens (prefix : Token , outer : Region ) extends Region ( " IP " )
1372
- case class InBraces (outer : Region ) extends Region ( " IB " )
1373
- case class InCase (outer : Region ) extends Region ( " IC " )
1370
+ case class InString (multiLine : Boolean , outer : Region ) extends Region
1371
+ case class InParens (prefix : Token , outer : Region ) extends Region
1372
+ case class InBraces (outer : Region ) extends Region
1373
+ case class InCase (outer : Region ) extends Region
1374
1374
1375
1375
/** A class describing an indentation region.
1376
1376
* @param width The principal indendation width
1377
1377
* @param others Other indendation widths > width of lines in the same region
1378
1378
* @param prefix The token before the initial <indent> of the region
1379
1379
*/
1380
- case class Indented (width : IndentWidth , others : Set [IndentWidth ], prefix : Token , outer : Region | Null ) extends Region ( " II " ) :
1380
+ case class Indented (width : IndentWidth , others : Set [IndentWidth ], prefix : Token , outer : Region | Null ) extends Region :
1381
1381
knownWidth = width
1382
1382
1383
1383
def topLevelRegion (width : IndentWidth ) = Indented (width, Set (), EMPTY , null )
0 commit comments