Scanners
object Scanners
Type members
Classlikes
case class Indented(width: IndentWidth, others: Set[IndentWidth], prefix: Token, outer: Region | Null) extends Region
A class describing an indentation region.
A class describing an indentation region.
- Value Params
- others
Other indendation widths > width of lines in the same region
- prefix
The token before the initial
of the region - width
The principal indendation width
abstract class Region
A Region indicates what encloses the current token. It can be one of the following
A Region indicates what encloses the current token. It can be one of the following
InString a string interpolation
InParens a pair of parentheses (...) or brackets [...]
InBraces a pair of braces { ... }
Indented a pair of
abstract class ScannerCommon(source: SourceFile)(using x$2: Context) extends CharArrayReader with TokenData