uk.ac.man.cs.rainbow
Class Compiler.SemanticError
java.lang.Object
|
+--uk.ac.man.cs.rainbow.Compiler.Error
|
+--uk.ac.man.cs.rainbow.Compiler.SemanticError
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Compiler
- public static class Compiler.SemanticError
- extends Compiler.Error
A single semantic error generated by a compiler.
- See Also:
Compiler.Errors
, Serialized Form
Compiler.SemanticError
public Compiler.SemanticError(int line,
String message,
String[] detail)
- Create a semantic error.
Compiler.SemanticError
public Compiler.SemanticError(Integer line,
String message,
String[] detail)
- Create a semantic error. Extracts the
Integer
for you.