shimmy/token

Types

pub type Token {
  Name(value: String)
  UpName(value: String)
  DiscardName(value: String)
  Int(value: String)
  Float(value: String)
  String(value: String)
  CommentDoc(content: String)
  CommentNormal(content: String)
  CommentModule(content: String)
  LeftParen
  RightParen
  LeftSquare
  RightSquare
  LeftBrace
  RightBrace
  Plus
  Minus
  Star
  Slash
  Less
  Greater
  LessEqual
  GreaterEqual
  Percent
  PlusDot
  MinusDot
  StarDot
  SlashDot
  LessDot
  GreaterDot
  LessEqualDot
  GreaterEqualDot
  LtGt
  Colon
  Comma
  Hash
  Bang
  Equal
  EqualEqual
  NotEqual
  Vbar
  VbarVbar
  AmperAmper
  LtLt
  GtGt
  Pipe
  Dot
  RArrow
  LArrow
  DotDot
  At
  EndOfFile
  NewLine
  As
  Assert
  Auto
  Case
  Const
  Delegate
  Derive
  Echo
  Else
  Fn
  If
  Implement
  Import
  Let
  Macro
  Opaque
  Panic
  Pub
  Test
  Todo
  Type
  Use
}

Constructors

  • Name(value: String)
  • UpName(value: String)
  • DiscardName(value: String)
  • Int(value: String)
  • Float(value: String)
  • String(value: String)
  • CommentDoc(content: String)
  • CommentNormal(content: String)
  • CommentModule(content: String)
  • LeftParen
  • RightParen
  • LeftSquare
  • RightSquare
  • LeftBrace
  • RightBrace
  • Plus
  • Minus
  • Star
  • Slash
  • Less
  • Greater
  • LessEqual
  • GreaterEqual
  • Percent
  • PlusDot
  • MinusDot
  • StarDot
  • SlashDot
  • LessDot
  • GreaterDot
  • LessEqualDot
  • GreaterEqualDot
  • LtGt
  • Colon
  • Comma
  • Hash
  • Bang
  • Equal
  • EqualEqual
  • NotEqual
  • Vbar
  • VbarVbar
  • AmperAmper
  • LtLt
  • GtGt
  • Pipe
  • Dot
  • RArrow
  • LArrow
  • DotDot
  • At
  • EndOfFile
  • NewLine
  • As
  • Assert
  • Auto
  • Case
  • Const
  • Delegate
  • Derive
  • Echo
  • Else
  • Fn
  • If
  • Implement
  • Import
  • Let
  • Macro
  • Opaque
  • Panic
  • Pub
  • Test
  • Todo
  • Type
  • Use
Search Document