Header menu logo F# Compiler Guide

FSharpTokenInfo Type

Information about a particular token from the tokenizer

Record fields

Record Field Description

CharClass

Full Usage: CharClass

Field type: FSharpTokenCharKind

Gives an indication of the class to assign to the token an IDE

Field type: FSharpTokenCharKind

ColorClass

Full Usage: ColorClass

Field type: FSharpTokenColorKind
Field type: FSharpTokenColorKind

FSharpTokenTriggerClass

Full Usage: FSharpTokenTriggerClass

Field type: FSharpTokenTriggerClass

Actions taken when the token is typed

Field type: FSharpTokenTriggerClass

FullMatchedLength

Full Usage: FullMatchedLength

Field type: int

The full length consumed by this match, including delayed tokens (which can be ignored in naive lexers)

Field type: int

LeftColumn

Full Usage: LeftColumn

Field type: int

Left column of the token.

Field type: int

RightColumn

Full Usage: RightColumn

Field type: int

Right column of the token.

Field type: int

Tag

Full Usage: Tag

Field type: int

The tag is an integer identifier for the token

Field type: int

TokenName

Full Usage: TokenName

Field type: string

Provides additional information about the token

Field type: string

Type something to start searching.