eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CodeCoverageHighlighter':

Home

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

Class: CodeCoverageHighlighter


Inheritance:

   Object
   |
   +--Scanner
      |
      +--Parser
         |
         +--AbstractSyntaxHighlighter
            |
            +--CodeCoverageHighlighter

Package:
stx:libcomp
Category:
System-Compiler
Version:
rev: 1.11 date: 2024/04/09 12:16:56
user: stefan
file: CodeCoverageHighlighter.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


colors a method according to some methodInvocationInfo.

copyright

COPYRIGHT (c) 2010 by eXept Software AG 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.

Instance protocol:

accessing
o  colorForCoveredCode

o  colorForUncoveredCode

o  method: aMethod
(comment from inherited method)
the original method, if known (for subclasses which can make use of it)

o  methodInvocationInfo: something

o  sourceText: aString
(comment from inherited method)
this text will be updated by the highlighting process

o  updateMethodInvocationInfo

syntax detection
o  markArgumentIdentifierFrom: pos1 to: pos2
intentionally left empty

o  markBlockFrom: pos1 to: pos2
methodInvocationInfo notNil ifTrue:[

o  markBracketAt: pos
(comment from inherited method)
intentionally left empty

o  markCommentFrom: pos1 to: pos2
preferences commentColor

o  markMethodArgumentIdentifierFrom: pos1 to: pos2

o  markMethodSelectorFrom: pos1 to: pos2
methodInvocationInfo notNil ifTrue:[

o  markUnknownIdentifierFrom: pos1 to: pos2
(comment from inherited method)
intentionally left empty

o  parseMethod
sourceText emphasizeFrom:1 to:sourceText size with:(#backgroundColor "#color" -> clr lightened lightened).



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 03:13:13 GMT