ErrorHandler

object ErrorHandler

Error handler object which stores errors

Functions

addRuntimeError
Link copied to clipboard
fun addRuntimeError(errorEvent: String, lineNumber: Int)
Add runtime error
addSemanticError
Link copied to clipboard
fun addSemanticError(errorEvent: String, linePos: String)
Add semantic error
addSyntaxError
Link copied to clipboard
fun addSyntaxError(errorEvent: String, linePos: String)
Add syntax error
addTooManyDatastructuresError
Link copied to clipboard
fun addTooManyDatastructuresError()
Add too many datastructures error
addWarning
Link copied to clipboard
fun addWarning(warningEvent: String)
Add warning
checkErrorsAndWarnings
Link copied to clipboard
fun checkErrorsAndWarnings(): ExitStatus
Check errors and warnings
checkWarnings
Link copied to clipboard
fun checkWarnings()
Check warnings
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String