webql/compiler/lexer/token

Copy Markdown

Types

Token

pub type Token {
  Token(kind: TokenKind, span: source.Span)
}
Token(kind: TokenKind, span: source.Span)

TokenKind

pub type TokenKind {
  Name
  Int
  Float
  String
  CommentSingle
  LParen
  RParen
  LBrace
  RBrace
  LSquare
  RSquare
  Colon
  Comma
  Equal
  RArrow
  Dot
  UpperIdentifier
  LowerIdentifier
  Space
  EOF
  Diagnostic(kind: diagnostic.DiagnosticKind)
}
Name
Int
Float
String
CommentSingle
LParen
RParen
LBrace
RBrace
LSquare
RSquare
Colon
Comma
Equal
RArrow
Dot
UpperIdentifier
LowerIdentifier
Space
EOF
Diagnostic(kind: diagnostic.DiagnosticKind)