Header menu logo FSharp.Formatting

TokenSpan Type

A token in a parsed F# code snippet. Aside from standard tokens reported from the compiler (Token), this also includes Error (wrapping the underlined tokens), Omitted for the special [omit:...] tags and Output for the special [output:...] tag

Union cases

Union case Description

Error(kind, message, body)

Full Usage: Error(kind, message, body)

Parameters:
kind : ErrorKind
message : string
body : TokenSpans

Omitted(body, hidden)

Full Usage: Omitted(body, hidden)

Parameters:
    body : string
    hidden : string

body : string
hidden : string

Output string

Full Usage: Output string

Parameters:
    Item : string

Item : string

Token(kind, body, tip)

Full Usage: Token(kind, body, tip)

Parameters:
kind : TokenKind
body : string
tip : ToolTipSpans option

Type something to start searching.