|
Class: CompilationErrorHandler
Object
|
+--CompilationErrorHandler
|
+--EvalScriptingErrorHandler
|
+--TextCollectingCompilationErrorHandler
|
+--WarningCompilationErrorHandler
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Version:
- rev:
1.15
date: 2018/11/28 16:27:27
- user: cg
- file: CompilationErrorHandler.st directory: libcomp
- module: stx stc-classLibrary: libcomp
Instances of this class (or a subclass)
are created temporary during fileIn.
They get notified about any errors.
Currently, all we
do here is to output the error on the Transcript;
eventually, we will open a box showing the position of the error.
instance creation
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
-
on: aStream
-
accessing
-
failBlock: something
-
-
source: aString
-
error handling
-
correctableError: aMessage position: position to: endPos from: aCompiler
-
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.
-
correctableSelectorWarning: aMessage position: position to: endPos from: aCompiler
-
warning notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.
-
correctableWarning: aMessage position: position to: endPos from: aCompiler
-
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.
-
error: aMessage position: position to: endPos from: aCompiler
-
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.
-
unusedVariableWarning: aMessage position: position to: endPos from: aCompiler
-
warning notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.
-
warning: aMessage position: position to: endPos from: aCompiler
-
warning notification during fileIn - ignore it.
This is sent by the compiler/evaluator if it detects errors.
private-accessing
-
collectingStream: aStream
-
-
reader: aStream
-
|