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.7 date: 2015/02/28 00:54:47
user: cg
file: CodeCoverageHighlighter.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


colors a method according to some methodInvocationInfo.


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

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.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 19:06:11 GMT