TokenData

dotty.tools.dotc.parsing.Scanners.TokenData
trait TokenData

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def copyFrom(td: TokenData): Unit

Is current token first one after a newline?

Is current token first one after a newline?

Attributes

def isIdent(name: Name): Boolean

Concrete fields

var base: Int

the base of a number

the base of a number

Attributes

the offset of the character following the token preceding this one

the offset of the character following the token preceding this one

Attributes

the offset of the newline immediately preceding the token, or -1 if token is not preceded by a newline.

the offset of the newline immediately preceding the token, or -1 if token is not preceded by a newline.

Attributes

the name of an identifier

the name of an identifier

Attributes

var offset: Offset

the offset of the first character of the current token

the offset of the first character of the current token

Attributes

var strVal: String

the string value of a literal

the string value of a literal

Attributes

var token: Token

the next token

the next token

Attributes