Skip to content

v.errors #

enum Reporter #

enum Reporter {
	scanner
	parser
	checker
	builder
	gen
}

struct CallStackItem #

struct CallStackItem {
pub:
	file_path string
	pos       token.Pos
}

CallStackItem represents a single location in the call stack

struct CompilerMessage #

struct CompilerMessage {
pub:
	message    string
	details    string
	file_path  string
	pos        token.Pos
	reporter   Reporter
	call_stack []CallStackItem // call stack for compile-time errors
}

struct Error #

struct Error {
	CompilerMessage
}

struct Notice #

struct Notice {
	CompilerMessage
}

struct Warning #

struct Warning {
	CompilerMessage
}