eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptCompletionParser':

Home

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

Class: JavaScriptCompletionParser


Inheritance:

   Object
   |
   +--Scanner
      |
      +--JavaScriptScanner
         |
         +--JavaScriptParser
            |
            +--JavaScriptCompletionParser

Package:
stx:libjavascript
Category:
Languages-JavaScript-Compiling & Parsing
Version:
rev: 1.7 date: 2019/03/21 09:09:53
user: cg
file: JavaScriptCompletionParser.st directory: libjavascript
module: stx stc-classLibrary: libjavascript

Instance protocol:

accessing
o  nodeRewriteHook

o  nodeRewriteHook: oneArgBlock

error handling
o  parseError: message position: startPos to: endPos

initialization
o  initialize
Invoked when a new instance is created.

parsing-expressions
o  expression
(comment from inherited method)
expression -> commaExpression

o  functionCallExpression: recIn
(comment from inherited method)
functionCallExpression -> var
| var(argList)

o  newExpression
(comment from inherited method)
for now, we do not support full expressions here...

o  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 '}'

o  unaryExpression
(comment from inherited method)
unaryExpr -> ! unaryExpression
| ~ unaryExpression
| - unaryExpression
| ++unaryExpression
| --unaryExpression
| typeof(primaryExpression)
| primaryExpression
| primaryExpression--
| primaryExpression++



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 17 May 2022 21:15:09 GMT