author | Claus Gittinger <cg@exept.de> |
Fri, 21 Feb 2020 20:48:14 +0100 | |
changeset 1231 | b7d945ef967a |
parent 1204 | 46185a561338 |
permissions | -rw-r--r-- |
155 | 1 |
" |
2 |
COPYRIGHT (c) 2005 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
52 | 12 |
"{ Package: 'stx:libjavascript' }" |
13 |
||
1108 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
52 | 16 |
VariableNode subclass:#JavaScriptVariableNode |
65 | 17 |
instanceVariableNames:'' |
52 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
20 |
category:'Languages-JavaScript-Compiling & Parsing' |
|
21 |
! |
|
22 |
||
155 | 23 |
!JavaScriptVariableNode class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2005 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! ! |
|
52 | 38 |
|
61 | 39 |
!JavaScriptVariableNode methodsFor:'queries'! |
40 |
||
41 |
isImmutable |
|
236
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
42 |
"/ self isMethodArg ifTrue:[^ true]. |
61 | 43 |
^ false |
236
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
44 |
|
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
45 |
"Modified: / 23-02-2007 / 13:26:20 / cg" |
52 | 46 |
! ! |
47 |
||
654
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
48 |
!JavaScriptVariableNode methodsFor:'visiting'! |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
49 |
|
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
50 |
acceptVisitor:visitor |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
51 |
"Double dispatch back to the visitor, passing my type encoded in |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
52 |
the selector (visitor pattern)" |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
53 |
|
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
54 |
"stub code automatically generated - please change if required" |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
55 |
|
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
56 |
^ visitor visitJavaScriptVariableNode:self |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
57 |
! ! |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
58 |
|
52 | 59 |
!JavaScriptVariableNode class methodsFor:'documentation'! |
60 |
||
61 |
version |
|
62 |
^ '$Header$' |
|
63 |
! ! |
|
654
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
64 |