eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'BreakpointAnalyzer':

Home

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

Class: BreakpointAnalyzer


Inheritance:

   Object
   |
   +--Scanner
      |
      +--Parser
         |
         +--BreakpointAnalyzer

Package:
stx:libcomp
Category:
System-Compiler-Debugging
Version:
rev: 1.6 date: 2021/01/20 15:24:15
user: cg
file: BreakpointAnalyzer.st directory: libcomp
module: stx stc-classLibrary: libcomp

Instance protocol:

accessing
o  messageSendMap

code generation hooks
o  messageNodeRewriteHookFor: aMessageNode
invoked whenever a message send node has been generated;
gives subclasses a chance to rewrite (instrument) it

initialization
o  initialize
(comment from inherited method)
<modifier: #super> "must be called if redefined"

private
o  genMakeArrayWith: elementExpressions
return a node to generate an array at runtime.
Will generate:
literal shallowCopy (if all elements are literals)
or else:
Array with:el1 ... with:elN (if N <= 8)
or:
(Array new at:1 put:el1; ... at:N put:elN; yourself) (otherwise)

SIGH: duplicate code here, because the other implementation is on the class side,
and shared by JavaScriptParser and regular Parser.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:56:45 GMT