eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SyntaxHighlighter':

Home

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

Class: SyntaxHighlighter


Inheritance:

   Object
   |
   +--Scanner
      |
      +--Parser
         |
         +--AbstractSyntaxHighlighter
            |
            +--SyntaxHighlighter
               |
               +--SyntaxHighlighter2

Package:
stx:libcomp
Category:
System-Compiler
Version:
rev: 1.91 date: 2024/02/16 18:08:27
user: stefan
file: SyntaxHighlighter.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


colors a method.

copyright

COPYRIGHT (c) 1998 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.

Class protocol:

constants
o  codeAspectClassDefinition

o  codeAspectExpression

o  codeAspectFile

o  codeAspectMethod


Instance protocol:

accessing
o  unknownVariableResolver

initialization
o  initialize
must be called if redefined

syntax detection
o  markArgumentIdentifierFrom: pos1 to: pos2
(comment from inherited method)
intentionally left empty

o  markAssignedClassVariableIdentifierFrom: pos1 to: pos2

o  markAssignedGlobalIdentifierFrom: pos1 to: pos2

o  markAssignedIdentifierFrom: pos1 to: pos2
any other identifier (PrivateClass, Workspace, Doit, etc.)

o  markAssignedInstVarIdentifierFrom: pos1 to: pos2

o  markAssignedPoolVariableIdentifierFrom: pos1 to: pos2

o  markAssignedVariable: v from: pos to: endPos
support for syntaxColoring

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

o  markBlockFrom: pos1 to: pos2
an experiment (which does not look too good, after all):
the deeper the nesting of the block, the darker the background color.

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

o  markBracketAt: pos
normal

o  markClassVariableIdentifierFrom: pos1 to: pos2

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

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

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

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

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

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

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

o  markNumberConstantFrom: pos1 to: pos2

o  markParenthesisAt: pos
normal

o  markPoolVariableIdentifierFrom: pos1 to: pos2

o  markReturnAt: pos
sourceText := (sourceText copyTo:pos-1),(Character value:16r21e7),(sourceText copyFrom:pos+1).

o  markSelector: selectorString from: pos1 to: pos2 receiverNode: aReceiverNode
uncommenting the code below

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

o  markStringFrom: pos1 to: pos2

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

o  markSymbolFrom: pos1 to: pos2

o  markThisContextFrom: pos1 to: pos2

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

o  markVariable: v from: pos to: endPos assigned: assigned
support for syntaxColoring



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:43:11 GMT