glexer/token

Types

pub type Token {
  Name(String)
  UpperName(String)
  DiscardName(String)
  Int(String)
  Float(String)
  String(String)
  CommentDoc(String)
  As
  Assert
  Case
  Const
  External
  Fn
  If
  Import
  Let
  Opaque
  Panic
  Pub
  Todo
  Type
  Use
  LeftParen
  RightParen
  LeftBrace
  RightBrace
  LeftSquare
  RightSquare
  Plus
  Minus
  Star
  Slash
  Less
  Greater
  LessEqual
  GreaterEqual
  Percent
  PlusDot
  MinusDot
  StarDot
  SlashDot
  LessDot
  GreaterDot
  LessEqualDot
  GreaterEqualDot
  LessGreater
  Colon
  Comma
  Hash
  Bang
  Equal
  EqualEqual
  NotEqual
  VBar
  VBarVBar
  AmperAmper
  LessLess
  GreaterGreater
  Pipe
  Dot
  DotDot
  LeftArrow
  RightArrow
  EndOfFile
  CommentNormal
  CommentModule
  EmptyLine
  UnterminatedString(String)
}

Constructors

  • Name(String)
  • UpperName(String)
  • DiscardName(String)
  • Int(String)
  • Float(String)
  • String(String)
  • CommentDoc(String)
  • As
  • Assert
  • Case
  • Const
  • External
  • Fn
  • If
  • Import
  • Let
  • Opaque
  • Panic
  • Pub
  • Todo
  • Type
  • Use
  • LeftParen
  • RightParen
  • LeftBrace
  • RightBrace
  • LeftSquare
  • RightSquare
  • Plus
  • Minus
  • Star
  • Slash
  • Less
  • Greater
  • LessEqual
  • GreaterEqual
  • Percent
  • PlusDot
  • MinusDot
  • StarDot
  • SlashDot
  • LessDot
  • GreaterDot
  • LessEqualDot
  • GreaterEqualDot
  • LessGreater
  • Colon
  • Comma
  • Hash
  • Bang
  • Equal
  • EqualEqual
  • NotEqual
  • VBar
  • VBarVBar
  • AmperAmper
  • LessLess
  • GreaterGreater
  • Pipe
  • Dot
  • DotDot
  • LeftArrow
  • RightArrow
  • EndOfFile
  • CommentNormal
  • CommentModule
  • EmptyLine
  • UnterminatedString(String)
Search Document