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.16 date: 2021/01/20 15:54:23
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.

copyright

COPYRIGHT (c) 1995 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:26:57 GMT