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.15 date: 2018/11/28 16:27:27
user: cg
file: CompilationErrorHandler.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


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.


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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 19 Sep 2019 08:25:13 GMT