lexer

Lexer for the MoonBit programming language

moon add moonbitlang/lexer@0.3.15
Download zip
Version
0.3.15
License
Apache-2.0
Last updated
13 hours ago
Downloads
20K
README

moonbitlang/lexer does not have a README file

#
LexicalError

pub enum LexicalError {
IllegalCharacter(Char)
UnterminatedString
UnterminatedStringInVariableInterploation
InterpInvalidMultilineString
InterpInvalidComment
InterpInvalidAttribute
InterpMissingExpression
InvalidDotInt(String)
InvalidByteLiteral(String)
Reserved_keyword(String)
}

#
tokens_from_string

fn tokens_from_string(name? : String, start_pos? :
Position
, is_interpolation? : Bool, comment~ : Bool, str : String) -> LexResult

#
tokens_from_string_with_utf16_location

fn tokens_from_string_with_utf16_location(name? : String, start_pos? :
Position
, is_interpolation? : Bool, comment~ : Bool, str : String) -> LexResult

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io