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.13 date: 2019/02/20 21:59:58
user: cg
file: ByteCodeCompilerWithBreakpointSupport.st directory: libcomp
module: stx stc-classLibrary: libcomp
Author:
Jan Vrany <jan.vrany@fit.cvut.cz>

Description:


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


[instance variables:]

[class variables:]


Related information:



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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 24 Apr 2024 23:06:17 GMT