eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CompilationErrorHandler':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CompilationErrorHandler


Inheritance:

   Object
   |
   +--CompilationErrorHandler
      |
      +--EvalScriptingErrorHandler
      |
      +--TextCollectingCompilationErrorHandler
      |
      +--WarningCompilationErrorHandler

Package:
stx:libcomp
Category:
System-Compiler
Version:
rev: 1.14 date: 2014/02/20 15:18:45
user: cg
file: CompilationErrorHandler.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


Instances of this class 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.


Class protocol:

instance creation
o  new
(comment from inherited method)
return an instance of myself without indexed variables

o  on: aStream


Instance protocol:

accessing
o  failBlock: something

o  source: aString

error handling
o  correctableError: aMessage position: position to: endPos from: aCompiler
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.

o  correctableSelectorWarning: aMessage position: position to: endPos from: aCompiler
warning notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.

o  correctableWarning: aMessage position: position to: endPos from: aCompiler
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.

o  error: aMessage position: position to: endPos from: aCompiler
error notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.

o  unusedVariableWarning: aMessage position: position to: endPos from: aCompiler
warning notification during fileIn.
This is sent by the compiler/evaluator if it detects errors.

o  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
o  collectingStream: aStream

o  reader: aStream



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 18:11:09 GMT