eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ByteCodeCompilerWithBreakpointSupport':

Home

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

Class: ByteCodeCompilerWithBreakpointSupport


Inheritance:

   Object
   |
   +--Scanner
      |
      +--Parser
         |
         +--ByteCodeCompiler
            |
            +--ByteCodeCompilerWithBreakpointSupport

Package:
stx:libcomp
Category:
System-Compiler-Debugging
Version:
rev: 1.18 date: 2024/02/25 13:13:29
user: cg
file: ByteCodeCompilerWithBreakpointSupport.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


I'm an experimental compiler class that supports
breakpoints. Once tested, the code will be merged
to ByteCodeCompiler.


[instance variables:]

[class variables:]

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:

adding breakpoint
o  possiblyWrapABreakPointAround: aBlock
refactored Jan's original code; changed to not wrap an already wrapped expression

o  removeMissedBreakpointsBefore: aPosition

parsing-expressions
o  binaryExpression
(comment from inherited method)
parse a binary-expression; return a node-tree, nil or #Error

o  binaryExpressionFor: aReceiver
(comment from inherited method)
parse a binary-expression; return a node-tree, nil or #Error

o  block
(comment from inherited method)
parse a block; return a node-tree, nil or #Error

o  expression
(comment from inherited method)
parse a cascade-expression; return a node-tree, nil or #Error.

expression ::= keywordExpression
| keywordExpression cascade

cascade ::= ';' expressionSendPart
| cascade ';' expressionSendPart

expressionSendPart ::= { KEYWORD binaryExpression }
| BINARYOPERATOR unaryExpression
| IDENTIFIER

o  primary
(comment from inherited method)
parse a primary-expression; return a node-tree, nil or #Error.
This also cares for namespace-access-paths.

o  unaryExpression
(comment from inherited method)
parse a unary-expression; return a node-tree, nil or #Error

o  unaryExpressionFor: aReceiver
(comment from inherited method)
parse a unary-expression; return a node-tree, nil or #Error

private
o  breakpoints: aCollection

o  methodClass

o  notifying: anObject
(comment from inherited method)
set the requestor to be notified



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 07:39:12 GMT