Scanners
dotty.tools.dotc.parsing.Scanners$
object Scanners
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Regionclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Regionclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Regionclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Regionclass Objecttrait Matchableclass AnyShow all
enum IndentWidth
object IndentWidth
Attributes
- Companion
- enum
- Supertypes
- Self type
-
IndentWidth.type
case class Indented(width: IndentWidth, prefix: Token, outer: Region | Null) extends Region
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
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Regionclass Objecttrait Matchableclass AnyShow all
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
- Supertypes
- Known subtypes
class Scanner(source: SourceFile, val startFrom: Offset, profile: Profile, allowIndent: Boolean)(using x$5: Context) extends ScannerCommon
Attributes
- Supertypes
-
class ScannerCommontrait TokenDataclass CharArrayReaderclass Objecttrait Matchableclass AnyShow all
abstract class ScannerCommon(source: SourceFile)(using x$2: Context) extends CharArrayReader, TokenData
Attributes
- Supertypes
- Known subtypes
trait TokenData
Attributes
- Supertypes
- Known subtypes
Value members
Concrete methods
In this article