Package-level declarations

Types

Link copied to clipboard

Used to represent any sort of error that takes place during compilation

Link copied to clipboard
data class Error(var id: String, var line: Int, var charPosition: Int, var msg: String) : CompilationError

Defines the lexical and syntax errors in the source program

Link copied to clipboard
data class SemanticError(var type: SemanticError.Type, var line: Int) : CompilationError

Used to define semantic error