author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 24 Sep 2013 23:18:24 +0200 | |
branch | initialV |
changeset 1180 | 01c6be61f29c |
parent 654 | dabbe3bfa4b5 |
child 1108 | 499fe2bc6b5f |
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 |
||
14 |
VariableNode subclass:#JavaScriptVariableNode |
|
65 | 15 |
instanceVariableNames:'' |
52 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'Languages-JavaScript-Compiling & Parsing' |
|
19 |
! |
|
20 |
||
155 | 21 |
!JavaScriptVariableNode class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2005 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! ! |
|
52 | 36 |
|
61 | 37 |
!JavaScriptVariableNode methodsFor:'queries'! |
38 |
||
39 |
isImmutable |
|
236
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
40 |
"/ self isMethodArg ifTrue:[^ true]. |
61 | 41 |
^ false |
236
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
42 |
|
152271e4910c
actuall, can write arguments in JS
Claus Gittinger <cg@exept.de>
parents:
155
diff
changeset
|
43 |
"Modified: / 23-02-2007 / 13:26:20 / cg" |
52 | 44 |
! ! |
45 |
||
654
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
46 |
!JavaScriptVariableNode methodsFor:'visiting'! |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
47 |
|
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
48 |
acceptVisitor:visitor |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
49 |
"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
|
50 |
the selector (visitor pattern)" |
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
51 |
|
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
52 |
"stub code automatically generated - please change if required" |
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 |
^ visitor visitJavaScriptVariableNode:self |
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 |
|
52 | 57 |
!JavaScriptVariableNode class methodsFor:'documentation'! |
58 |
||
59 |
version |
|
60 |
^ '$Header$' |
|
61 |
! ! |
|
654
dabbe3bfa4b5
Added JavaScriptParseNodeVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
236
diff
changeset
|
62 |