|
Class: JavaScriptCompilerWithBreakpointSupport
Object
|
+--Scanner
|
+--JavaScriptScanner
|
+--JavaScriptParser
|
+--JavaScriptCompiler
|
+--JavaScriptCompilerWithBreakpointSupport
- Package:
- stx:libjavascript
- Category:
- Languages-JavaScript-Compiling & Parsing
- Version:
- rev:
1.8
date: 2020/01/30 14:00:37
- user: stefan
- file: JavaScriptCompilerWithBreakpointSupport.st directory: libjavascript
- module: stx stc-classLibrary: libjavascript
I'm an experimental compiler class that supports breakpoints.
Once tested, the code might be merged to JavaScriptCompiler.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2013 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.
adding breakpoint
-
possiblyWrapABreakPointAround: aBlock
-
refactored Jan's original code; changed to not wrap an already wrapped expression
-
possiblyWrapABreakPointBefore: aBlock
-
refactored Jan's original code; changed to not wrap an already wrapped expression
-
removeMissedBreakpointsBefore: aPosition
-
parsing-expressions
-
addExpression
-
(comment from inherited method)
addExpr -> mulExpr addOp mulExpr
-
block
-
-
expression
-
(comment from inherited method)
expression -> commaExpression
-
primaryExpression
-
(comment from inherited method)
primaryExpr ->
'(' expr ')'
| '(' id1,...idN ')' '=>' lambdaFunctionBody
| '(' ')' '=>' lambdaFunctionBody
| variable '=>' lambdaFunctionBody
| constant
| 'this'
| 'super'
| variable
| 'new' class
| 'new' funcOrClass '(' dim ')'
| 'function' '(' argList ')' '{' statements '}'
-
unaryExpression
-
(comment from inherited method)
unaryExpr -> ! unaryExpression
| ~ unaryExpression
| - unaryExpression
| ++unaryExpression
| --unaryExpression
| primaryExpression
| primaryExpression--
| primaryExpression++
| typeof primaryExpression
| await expression
parsing-statements
-
statement
-
(comment from inherited method)
statement -> expression ;
private
-
breakpoints: aCollection
-
-
methodClass
-
-
notifying: anObject
-
(comment from inherited method)
set the requestor to be notified
|