Header menu logo F# Compiler Guide

FSharpTokenTag Module

Some of the values in the field FSharpTokenInfo.Tag

Functions and values

Function or value Description

AMP_AMP

Full Usage: AMP_AMP

Returns: int

Indicates the token is a `@@`

Returns: int

BAR

Full Usage: BAR

Returns: int

Indicates the token is a `_`

Returns: int

BAR_BAR

Full Usage: BAR_BAR

Returns: int

Indicates the token is a `||`

Returns: int

BAR_RBRACK

Full Usage: BAR_RBRACK

Returns: int

Indicates the token is a `|]`

Returns: int

BEGIN

Full Usage: BEGIN

Returns: int

Indicates the token is keyword `begin`

Returns: int

CLASS

Full Usage: CLASS

Returns: int

Indicates the token is keyword `class`

Returns: int

COLON

Full Usage: COLON

Returns: int

Indicates the token is a `:`

Returns: int

COLON_COLON

Full Usage: COLON_COLON

Returns: int

Indicates the token is a `::`

Returns: int

COLON_EQUALS

Full Usage: COLON_EQUALS

Returns: int

Indicates the token is a `:=`

Returns: int

COLON_GREATER

Full Usage: COLON_GREATER

Returns: int

Indicates the token is a `:>`

Returns: int

COLON_QMARK

Full Usage: COLON_QMARK

Returns: int

Indicates the token is a `:?`

Returns: int

COLON_QMARK_GREATER

Full Usage: COLON_QMARK_GREATER

Returns: int

Indicates the token is a `:?>`

Returns: int

COMMA

Full Usage: COMMA

Returns: int

Indicates the token is a `,`

Returns: int

COMMENT

Full Usage: COMMENT

Returns: int

Indicates the token is a comment

Returns: int

DO

Full Usage: DO

Returns: int

Indicates the token is keyword `do`

Returns: int

DOT

Full Usage: DOT

Returns: int

Indicates the token is a `.`

Returns: int

DOT_DOT

Full Usage: DOT_DOT

Returns: int

Indicates the token is a `..`

Returns: int

DOT_DOT_HAT

Full Usage: DOT_DOT_HAT

Returns: int

Indicates the token is a `..`

Returns: int

ELSE

Full Usage: ELSE

Returns: int

Indicates the token is keyword `else`

Returns: int

EQUALS

Full Usage: EQUALS

Returns: int

Indicates the token is a `=`

Returns: int

FUNCTION

Full Usage: FUNCTION

Returns: int

Indicates the token is keyword `function`

Returns: int

GREATER

Full Usage: GREATER

Returns: int

Indicates the token is a `>`

Returns: int

GREATER_RBRACK

Full Usage: GREATER_RBRACK

Returns: int

Indicates the token is a `>]`

Returns: int

IDENT

Full Usage: IDENT

Returns: int

Indicates the token is an identifier (synonym for FSharpTokenTag.Identifier)

Returns: int

INFIX_AT_HAT_OP

Full Usage: INFIX_AT_HAT_OP

Returns: int

Indicates the token is a `^`

Returns: int

INFIX_BAR_OP

Full Usage: INFIX_BAR_OP

Returns: int

Indicates the token is a `|`

Returns: int

INFIX_COMPARE_OP

Full Usage: INFIX_COMPARE_OP

Returns: int

Indicates the token is a `|`

Returns: int

INFIX_STAR_DIV_MOD_OP

Full Usage: INFIX_STAR_DIV_MOD_OP

Returns: int

Indicates the token is a `%`

Returns: int

INT32_DOT_DOT

Full Usage: INT32_DOT_DOT

Returns: int

Indicates the token is a `..^`

Returns: int

INTERP_STRING_BEGIN_END

Full Usage: INTERP_STRING_BEGIN_END

Returns: int

Indicates the token is a part of an interpolated string

Returns: int

INTERP_STRING_BEGIN_PART

Full Usage: INTERP_STRING_BEGIN_PART

Returns: int

Indicates the token is a part of an interpolated string

Returns: int

INTERP_STRING_END

Full Usage: INTERP_STRING_END

Returns: int

Indicates the token is a part of an interpolated string

Returns: int

INTERP_STRING_PART

Full Usage: INTERP_STRING_PART

Returns: int

Indicates the token is a part of an interpolated string

Returns: int

Identifier

Full Usage: Identifier

Returns: int

Indicates the token is an identifier

Returns: int

LARROW

Full Usage: LARROW

Returns: int

Indicates the token is a `<-`

Returns: int

LBRACE

Full Usage: LBRACE

Returns: int

Indicates the token is a `{`

Returns: int

LBRACK

Full Usage: LBRACK

Returns: int

Indicates the token is a `[`

Returns: int

LBRACK_BAR

Full Usage: LBRACK_BAR

Returns: int

Indicates the token is a `[|`

Returns: int

LBRACK_LESS

Full Usage: LBRACK_LESS

Returns: int

Indicates the token is a `[<`

Returns: int

LESS

Full Usage: LESS

Returns: int

Indicates the token is a `<`

Returns: int

LINE_COMMENT

Full Usage: LINE_COMMENT

Returns: int

Indicates the token is a line comment

Returns: int

LPAREN

Full Usage: LPAREN

Returns: int

Indicates the token is a `(`

Returns: int

MINUS

Full Usage: MINUS

Returns: int

Indicates the token is a `-`

Returns: int

NEW

Full Usage: NEW

Returns: int

Indicates the token is keyword `new`

Returns: int

OWITH

Full Usage: OWITH

Returns: int

Indicates the token is keyword `with` in #light

Returns: int

PERCENT_OP

Full Usage: PERCENT_OP

Returns: int

Indicates the token is a `%`

Returns: int

PLUS_MINUS_OP

Full Usage: PLUS_MINUS_OP

Returns: int

Indicates the token is a `+` or `-`

Returns: int

PREFIX_OP

Full Usage: PREFIX_OP

Returns: int

Indicates the token is a `~`

Returns: int

QMARK

Full Usage: QMARK

Returns: int

Indicates the token is a `?`

Returns: int

QUOTE

Full Usage: QUOTE

Returns: int

Indicates the token is a `"`

Returns: int

RARROW

Full Usage: RARROW

Returns: int

Indicates the token is a `->`

Returns: int

RBRACE

Full Usage: RBRACE

Returns: int

Indicates the token is a `}`

Returns: int

RBRACK

Full Usage: RBRACK

Returns: int

Indicates the token is a `]`

Returns: int

RPAREN

Full Usage: RPAREN

Returns: int

Indicates the token is a `)`

Returns: int

SEMICOLON

Full Usage: SEMICOLON

Returns: int

Indicates the token is a `;`

Returns: int

STAR

Full Usage: STAR

Returns: int

Indicates the token is a `*`

Returns: int

STRING

Full Usage: STRING

Returns: int

Indicates the token is a string (synonym for FSharpTokenTag.String)

Returns: int

STRUCT

Full Usage: STRUCT

Returns: int

Indicates the token is keyword `struct`

Returns: int

String

Full Usage: String

Returns: int

Indicates the token is a string

Returns: int

THEN

Full Usage: THEN

Returns: int

Indicates the token is keyword `then`

Returns: int

TRY

Full Usage: TRY

Returns: int

Indicates the token is keyword `try`

Returns: int

UNDERSCORE

Full Usage: UNDERSCORE

Returns: int

Indicates the token is a `..`

Returns: int

WHITESPACE

Full Usage: WHITESPACE

Returns: int

Indicates the token is a whitespace

Returns: int

WITH

Full Usage: WITH

Returns: int

Indicates the token is keyword `with`

Returns: int

Type something to start searching.