Navigation
Name
Errors
/
Contents
Synopsis
Table of Contents.
Description
Contents
: Table of Contents.
Static
: All static errors that can occur before executing of a Rascal program.
AmbiguousFunctionReference
: An ambiguous function name
ArgumentMismatch
: The called signature does not match any defined function.
Arity
: The number of arguments of an operator differ from what is required.
DateTimeSyntax
: A datetime value is syntactically incorrect.
IllegalQualifiedDeclaration
: Qualified names cannot be declared.
InvalidDateTimeComparison
: Attempt to compare a date with a time.
JavaCompilation
: Compilation of generated Java code failed.
JavaMethodLink
: Cannot link to a Java method.
MissingModifier
: A modifier is missing in a declaration.
MissingReturn
: A return statement is missing from a function body.
ModuleImport
: A Rascal module could not be imported.
ModuleNameMismatch
: Module name and file name are different.
NoKeywordParameters
: A function that is declared without keyword parameters is called with keyword parameters.
NonAbstractJavaFunction
: A function declared with the
java
modifier has a Rascal body.
NonVoidTypeRequired
: A type other than
void
is needed.
NonWellformedType
: A type in a declaration is not wellformed.
NotEnumerable
: A value that cannot be enumerated is used in an enumerator.
PartiallyLabeledFields
: In a tuple or relation all fields should have names or none at all.
RedeclaredField
: A field name is redeclared.
RedeclaredType
: A type with the same name has been declared before.
RedeclaredVariable
: A variable with the same name has been declared in the same scope.
SyntaxError
: Text in a module or entered via the command line violates the Rascal syntax.
UndeclaredAnnotation
: An annotation is used that has not been declared.
UndeclaredField
: A field name is used that has not been declared.
UndeclaredFunction
: A function is called that has not been declared.
UndeclaredJavaMethod
: Attempt to call a non-existing Java method.
UndeclaredKeywordParameter
: A function is called with a keyword parameter that was not declared in the function's declaration.
UndeclaredModule
: Reference to a non-existing module.
UndeclaredModuleProvider
: A scheme is used in a location for wich no provider has been registered.
UndeclaredNonTerminal
: A syntax rule uses an undeclared non-terminal.
UndeclaredType
: Use of a type that has not been declared.
UndeclaredVariable
: Use of a variable that has not been declared.
UnexpectedKeywordArgumentType
: The actual value of a keyword argument is not compatible with its declared type.
UnexpectedType
: A value of a different type was expected.
UnguardedAppend
: Append statement occurs outside a for/while statement.
UnguardedFail
: Use of
fail
statement outside a condtional context.
UnguardedInsert
: An
insert
occurs outside a
visit
expression.
UnguardedIt
: The special variable
it
occurs outside a reducer expression.
UnguardedReturn
: A return statement occurs outside a function body.
UninitializedPatternMatch
: Pattern matching has not been properly initialized.
UnitializedVariable
: Use of a variable that has not been initialized.
UnsupportedOperation
: Attempt to apply a operation to a value for which the operation is not defined.
UnsupportedPattern
: A pattern is used that is not supported.
UnsupportedSubscript
: A subscript is applied to a value that does not support it.
UnsupportedSubscriptArity
: Wrong number of subscripts is used.
Dynamic
: All errors that can occur during execution of a Rascal program.
ArithmeticException
: An arihmetic error occurred
AssertionFailed
: An assertion in the Rascal code is false.
EmptyList
: Illegal operation on an empty list.
EmptyMap
: Illegal operation on an empty set.
EmptySet
: Illegal operation on an empty set.
IllegalArgument
: A function or operation is applied to an illegal argument value.
IndexOutOfBounds
: Index is out of bounds.
IO
: An input/output operation caused an error.
Java
: Runtime error generated by Java code.
ModuleNotFound
: A module cannot be found on dynamic import.
NoSuchAnnotation
: Annotation without a value.
NoSuchKey
: A map does not contain a requested key.
ParseError
: Parse of a syntactically incorrect string.
PathNotFound
: A requested path name cannot be found.
StackOverflow
: The Rascal runtime stack exceeded its limit.
[
Edit
] | [
New Subconcept
] | [
Recompile Course
] | [
Warnings
]
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit
ask.rascal-mpl.org
.