Package lexer

Types

Link copied to clipboard
class Lexer(input: String)

Generates a list of tokens from the given input. This is usually the first step when parsing code.

Link copied to clipboard
data class Token(    val tokenType: TokenType,     val lexeme: String,     val line: Int,     val column: Int,     val value: String? = null)

The smallest meaningful unit of information in the input.

Link copied to clipboard
enum TokenType : Enum<TokenType>

Represents the type of Token