eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'BreakpointNode':

Home

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

Class: BreakpointNode


Inheritance:

   Object
   |
   +--ParseNode
      |
      +--BreakpointNode

Package:
stx:libcomp
Category:
System-Compiler-Debugging
Version:
rev: 1.29 date: 2024/04/08 13:36:21
user: stefan
file: BreakpointNode.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


compiler support for statement breakpoints.

copyright

COPYRIGHT (c) 2006 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  breakpoint

o  breakpoint: something

o  endPosition
(comment from inherited method)
the node's last character position in the original source

o  expression

o  expression: something

o  lineNumber

o  lineNumber: lineNumberArg
(comment from inherited method)
set linenumber - ignored here

o  realNode

o  selectorPosition

o  startPosition
(comment from inherited method)
the node's character position in the original source

code generation
o  codeBreakpointOn: aStream inBlock: b for: aCompiler

o  codeForCascadeOn: aStream inBlock: b for: aCompiler

o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
(comment from inherited method)
generate code for this statement - value not needed

o  codeOn: aStream inBlock: codeBlock for: aCompiler
Transcript showCR:'**** bpCode: %1 expr: %2' with:lineNumber with:expression printString.

o  codeStore: valueExpr on: aStream inBlock: codeBlock valueNeeded: valueNeeded for: aCompiler

o  codeStoreOn: aStream inBlock: codeBlock valueNeeded: forValue for: aCompiler

enumerating
o  childrenDo: aBlock

evaluation
o  evaluateIn: anEnvironment

node protocol forwarding
o  arg1
must forward - otherwise cascades won't work

o  args
must forward - otherwise keywordExpression won't work

o  argumentCount
must forward - otherwise checkCondition won't work

o  arguments
must forward - otherwise cascades won't work

o  isMessage
must forward - otherwise cascades won't work

o  isMessageWithSelector: aStringOrSymbol
must forward

o  isUnaryMessage
must forward - otherwise cascades won't work

o  isVariable
must forward - otherwise breakpoints on assignments won't work

o  name
must forward - otherwise variables won't work

o  numArgs
must forward - otherwise checkCondition won't work.
Please use argumentCount, which is ANSI

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  plausibilityCheckIn: aParser

o  receiver
must forward - otherwise cascades won't work

o  selector
must forward - otherwise cascades won't work

printing
o  printOn: aStream indent: indent
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

testing
o  isBreakPointNode

o  isImmutable
(comment from inherited method)
not used with ST/X -
for JavaScript nodes return true here.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 05:41:34 GMT