This version of the module is deprecated: Moved to moonbit-community/diago. Use moonbit-community/diago@0.4.0 or later and update import paths.
Milky2018/diago/lexer does not have a README file
type Lexerpub struct Position {
line : Int
column : Int
offset : Int
}pub enum StringType {
SingleQuoted
DoubleQuoted
}impl Eq for StringTypeimpl Show for StringTypepub enum TokenKind {
Ident(String)
StringLit(StringType, String)
Number(String)
Colon
Semicolon
Dot
Comma
LeftBrace
RightBrace
LeftBracket
RightBracket
LeftParen
RightParen
Pipe
Ampersand
Arrow
ReverseArrow
BidirectionalArrow
DoubleDash
Comment(String)
BlockComment(String)
At
DotDotDot
Dollar
DollarBrace
Star
DoubleStar
TripleStar
Newline
Eof
}