Scanners
object Scanners
Type members
Classlikes
A class describing an indentation region.
A class describing an indentation region.
- Value parameters:
- prefix
The token before the initial
of the region - width
The principal indendation width
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
class Scanner(source: SourceFile, val startFrom: Offset, profile: Profile)(using x$4: Context) extends ScannerCommon
abstract class ScannerCommon(source: SourceFile)(using x$2: Context) extends CharArrayReader with TokenData