Scanners
dotty.tools.dotc.parsing.Scanners$
object Scanners
Members list
Concise view
Type members
Classlikes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
enum IndentWidth
object IndentWidth
Attributes
- Companion:
- enum
- Graph
- Supertypes
- Self type
- IndentWidth.type
A class describing an indentation region.
A class describing an indentation region.
Attributes
- prefix
The token before the initial
of the region - width
The principal indendation width
- Graph
- Supertypes
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
Attributes
- Graph
- Supertypes
- Known subtypes
class Scanner(source: SourceFile, val startFrom: Offset, profile: Profile, allowIndent: Boolean)(using x$5: Context) extends ScannerCommon
Attributes
- Graph
- Supertypes
abstract class ScannerCommon(source: SourceFile)(using x$2: Context) extends CharArrayReader with TokenData
Attributes
- Graph
- Supertypes
- Known subtypes
trait TokenData
Attributes
- Graph
- Supertypes
- Known subtypes