pub enum FSharpTokenType {
Show 174 variants
Root,
Expression,
Whitespace,
Newline,
Identifier,
IntegerLiteral,
FloatLiteral,
StringLiteral,
CharLiteral,
BooleanLiteral,
UnitLiteral,
Let,
Rec,
And,
In,
If,
Then,
Else,
Elif,
Match,
With,
When,
Function,
Fun,
Type,
Val,
Mutable,
Of,
As,
Module,
Namespace,
Open,
Try,
Finally,
Exception,
Raise,
Failwith,
For,
To,
Downto,
Do,
Done,
While,
Yield,
Return,
Class,
Interface,
Inherit,
Abstract,
Override,
Default,
Member,
Static,
New,
Lazy,
Async,
Seq,
Use,
Begin,
End,
Struct,
Sig,
True,
False,
Null,
Or,
Public,
Private,
Internal,
Inline,
Extern,
Upcast,
Downcast,
Assert,
Global,
Base,
This,
Void,
Delegate,
Select,
Obj,
Unit,
Int,
Float,
String,
Bool,
Char,
Byte,
SByte,
Int16,
UInt16,
Int32,
UInt32,
Int64,
UInt64,
NativeInt,
UNativeInt,
Decimal,
BigInt,
Plus,
Minus,
Star,
Slash,
Percent,
StarStar,
Equal,
NotEqual,
LessThan,
LessEqual,
GreaterThan,
GreaterEqual,
AndAnd,
OrOr,
Not,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
BitwiseNot,
LeftShift,
RightShift,
Arrow,
DoubleArrow,
Pipe,
PipeRight,
DoublePipe,
Cons,
At,
Compose,
ComposeBack,
Dollar,
PipeForward,
PipeBackward,
LogicalAnd,
LogicalOr,
Ampersand,
Caret,
Tilde,
Less,
Greater,
PipeGreater,
Exclamation,
ColonEqual,
LArrow,
PlusPlus,
MinusMinus,
LeftParen,
RightParen,
LeftBracket,
RightBracket,
LeftArrayBracket,
RightArrayBracket,
LeftBracketBar,
RightBracketBar,
LeftBracketAngle,
RightBracketAngle,
LeftBrace,
RightBrace,
LeftAngle,
RightAngle,
Comma,
Semicolon,
Colon,
DoubleColon,
Dot,
DotDot,
Question,
Underscore,
Apostrophe,
Backtick,
Hash,
LineComment,
BlockComment,
Error,
Eof,
}Expand description
F# token types
Variants§
Root
Root node
Expression
Expression
Whitespace
Whitespace
Newline
Newline
Identifier
Identifier
IntegerLiteral
Integer literal
FloatLiteral
Float literal
StringLiteral
String literal
CharLiteral
Character literal
BooleanLiteral
Boolean literal
UnitLiteral
Unit literal
Let
The ‘let’ keyword
Rec
The ‘rec’ keyword
And
The ‘and’ keyword
In
The ‘in’ keyword
If
The ‘if’ keyword
Then
The ‘then’ keyword
Else
The ‘else’ keyword
Elif
The ‘elif’ keyword
Match
The ‘match’ keyword
With
The ‘with’ keyword
When
The ‘when’ keyword
Function
The ‘function’ keyword
Fun
The ‘fun’ keyword
Type
The ‘type’ keyword
Val
The ‘val’ keyword
Mutable
The ‘mutable’ keyword
Of
The ‘of’ keyword
As
The ‘as’ keyword
Module
The ‘module’ keyword
Namespace
The ‘namespace’ keyword
Open
The ‘open’ keyword
Try
The ‘try’ keyword
Finally
The ‘finally’ keyword
Exception
The ‘exception’ keyword
Raise
The ‘raise’ keyword
Failwith
The ‘failwith’ keyword
For
The ‘for’ keyword
To
The ‘to’ keyword
Downto
The ‘downto’ keyword
Do
The ‘do’ keyword
Done
The ‘done’ keyword
While
The ‘while’ keyword
Yield
The ‘yield’ keyword
Return
The ‘return’ keyword
Class
The ‘class’ keyword
Interface
The ‘interface’ keyword
Inherit
The ‘inherit’ keyword
Abstract
The ‘abstract’ keyword
Override
The ‘override’ keyword
Default
The ‘default’ keyword
Member
The ‘member’ keyword
Static
The ‘static’ keyword
New
The ‘new’ keyword
Lazy
The ‘lazy’ keyword
Async
The ‘async’ keyword
Seq
The ‘seq’ keyword
Use
The ‘use’ keyword
Begin
The ‘begin’ keyword
End
The ‘end’ keyword
Struct
The ‘struct’ keyword
Sig
The ‘sig’ keyword
True
The ‘true’ keyword
False
The ‘false’ keyword
Null
The ‘null’ keyword
Or
The ‘or’ keyword
Public
The ‘public’ keyword
Private
The ‘private’ keyword
Internal
The ‘internal’ keyword
Inline
The ‘inline’ keyword
Extern
The ‘extern’ keyword
Upcast
The ‘upcast’ keyword
Downcast
The ‘downcast’ keyword
Assert
The ‘assert’ keyword
Global
The ‘global’ keyword
Base
The ‘base’ keyword
This
The ‘this’ keyword
Void
The ‘void’ keyword
Delegate
The ‘delegate’ keyword
Select
The ‘select’ keyword
Obj
The ‘obj’ keyword
Unit
The ‘unit’ keyword
Int
The ‘int’ keyword
Float
The ‘float’ keyword
String
The ‘string’ keyword
Bool
The ‘bool’ keyword
Char
The ‘char’ keyword
Byte
The ‘byte’ keyword
SByte
The ‘sbyte’ keyword
Int16
The ‘int16’ keyword
UInt16
The ‘uint16’ keyword
Int32
The ‘int32’ keyword
UInt32
The ‘uint32’ keyword
Int64
The ‘int64’ keyword
UInt64
The ‘uint64’ keyword
NativeInt
The ‘nativeint’ keyword
UNativeInt
The ‘unativeint’ keyword
Decimal
The ‘decimal’ keyword
BigInt
The ‘bigint’ keyword
Plus
The ‘+’ operator
Minus
The ‘-’ operator
Star
The ‘*’ operator
Slash
The ‘/’ operator
Percent
The ‘%’ operator
StarStar
The ‘**’ operator
Equal
The ‘=’ operator
NotEqual
The ‘<>’ operator
LessThan
The ‘<’ operator
LessEqual
The ‘<=’ operator
GreaterThan
The ‘>’ operator
GreaterEqual
The ‘>=’ operator
AndAnd
The ‘&&’ operator
OrOr
The ‘||’ operator
Not
The ‘not’ operator
BitwiseAnd
The ‘&&&’ operator
BitwiseOr
The ‘|||’ operator
BitwiseXor
The ‘^^^’ operator
BitwiseNot
The ‘~~~’ operator
LeftShift
The ‘<<<’ operator
RightShift
The ‘>>>’ operator
Arrow
The ‘->’ operator
DoubleArrow
The ‘=>’ operator
Pipe
The ‘|’ operator
PipeRight
The ‘|>’ operator
DoublePipe
The ‘||’ operator
Cons
The ‘::’ operator
At
The ‘@’ operator
Compose
The ‘>>’ operator
ComposeBack
The ‘<<’ operator
Dollar
The ‘$’ operator
PipeForward
The ‘|>’ operator
PipeBackward
The ‘<|’ operator
LogicalAnd
The ‘&&’ logical operator
LogicalOr
The ‘||’ logical operator
Ampersand
The ‘&’ operator
Caret
The ‘^’ operator
Tilde
The ‘~’ operator
Less
The ‘<’ operator
Greater
The ‘>’ operator
PipeGreater
The ‘|>’ operator
Exclamation
The ‘!’ operator
ColonEqual
The ‘:=’ operator
LArrow
The ‘<-’ operator
PlusPlus
The ‘++’ operator
MinusMinus
The ‘–’ operator
LeftParen
The ‘(’ delimiter
RightParen
The ‘)’ delimiter
LeftBracket
The ‘[’ delimiter
RightBracket
The ‘]’ delimiter
LeftArrayBracket
The ‘[|’ delimiter
RightArrayBracket
The ‘|]’ delimiter
LeftBracketBar
The ‘[<’ delimiter
RightBracketBar
The ‘>]’ delimiter
LeftBracketAngle
The ‘[ <’ delimiter
RightBracketAngle
The ‘> ]’ delimiter
LeftBrace
The ‘{’ delimiter
RightBrace
The ‘}’ delimiter
LeftAngle
The ‘<’ delimiter
RightAngle
The ‘>’ delimiter
Comma
The ‘,’ punctuation
Semicolon
The ‘;’ punctuation
Colon
The ‘:’ punctuation
DoubleColon
The ‘::’ punctuation
Dot
The ‘.’ punctuation
DotDot
The ‘..’ punctuation
Question
The ‘?’ punctuation
Underscore
The ‘_’ punctuation
Apostrophe
The ‘’’ punctuation
Backtick
The ‘`’ punctuation
Hash
The ‘#’ punctuation
LineComment
Line comment
BlockComment
Block comment
Error
Error
Eof
End of file
Implementations§
Source§impl FSharpTokenType
impl FSharpTokenType
Sourcepub fn is_keyword(&self) -> bool
pub fn is_keyword(&self) -> bool
Checks if it is a keyword
Trait Implementations§
Source§impl Clone for FSharpTokenType
impl Clone for FSharpTokenType
Source§fn clone(&self) -> FSharpTokenType
fn clone(&self) -> FSharpTokenType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more