feat(lexer): Scan alphanumerics & whitespace

This commit is contained in:
Tibo De Peuter 2025-03-27 17:25:58 +01:00
parent e0754650bc
commit e1f632ca40
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 60 additions and 40 deletions

View file

@ -1,8 +1,7 @@
package lexer
class Token(
data class Token(
val type: TokenType,
val position: LexerPosition
) {
// Do nothing
}
val value: String,
val position: TokenPosition
)