Diagnostics

de.uni_luebeck.isp.tessla.tessla_compiler.Diagnostics
object Diagnostics

Class containing errors complementing the core errors and additional compiler related warnings

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class CLIError(m: String) extends TesslaError

Error thrown if the compiler cannot be run with the given console arguments

Error thrown if the compiler cannot be run with the given console arguments

Value parameters

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class CommandNotSupportedError(m: String, loc: Location) extends TesslaError

Error thrown if a certain command (annotation, expression or statements) is not supported in the compiler backend

Error thrown if a certain command (annotation, expression or statements) is not supported in the compiler backend

Value parameters

loc

Location which code section in the original TeSSLa spec caused the error

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class CompilationWarning(message: String, compiler: String, msgType: String) extends Diagnostic

Warning raised if the compilation of the generated code raises a warning or information

Warning raised if the compilation of the generated code raises a warning or information

Value parameters

compiler

The compiler backend originally raising the warning

message

The message of the base warning

msgType

Kind of the warning, e.g. warning, information, note ...

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Diagnostic
class Object
trait Matchable
class Any
Show all
case class CoreASTError(m: String, loc: Location) extends TesslaError

Error thrown if the TeSSLa Core AST from the frontend cannot be processed

Error thrown if the TeSSLa Core AST from the frontend cannot be processed

Value parameters

loc

Location which code section in the original TeSSLa spec caused the error

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class DSLError(m: String, loc: Location) extends TesslaError

Error indicating that the generation or processing of the ImpLan AST went wrong

Error indicating that the generation or processing of the ImpLan AST went wrong

Value parameters

loc

Location which code section in the original TeSSLa spec caused the error

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class DSLTypeError(m: String) extends TesslaError

Error indicating that the generation or processing of the ImpLan AST caused a type error

Error indicating that the generation or processing of the ImpLan AST caused a type error

Value parameters

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class NotYetImplementedError(m: String, loc: Location) extends TesslaError

Error thrown if a certain command (annotation, expression or statements) is not implemented in the compiler backend yet but planned to be implemented soon

Error thrown if a certain command (annotation, expression or statements) is not implemented in the compiler backend yet but planned to be implemented soon

Value parameters

loc

Location which code section in the original TeSSLa spec caused the error

m

More detailed message

Attributes

Supertypes
trait Product
trait Equals
trait TesslaError
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all