author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 02 Jul 2018 08:46:01 +0200 | |
changeset 305 | bad21c4f64bf |
parent 296 | ea3dbc023c80 |
permissions | -rw-r--r-- |
0 | 1 |
"{ Package: 'stx:goodies/xmlsuite/xquery' }" |
2 |
||
3 |
"{ NameSpace: XQuery }" |
|
4 |
||
5 |
AstNode subclass:#AstReplaceValueOfExpr |
|
6 |
instanceVariableNames:'targetExpr sourceExpr' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'XQuery-AST' |
|
10 |
! |
|
11 |
||
12 |
||
13 |
!AstReplaceValueOfExpr methodsFor:'accessing'! |
|
14 |
||
15 |
sourceExpr |
|
16 |
^ sourceExpr |
|
17 |
! |
|
18 |
||
19 |
sourceExpr:something |
|
20 |
sourceExpr := something. |
|
21 |
! |
|
22 |
||
23 |
targetExpr |
|
24 |
^ targetExpr |
|
25 |
! |
|
26 |
||
27 |
targetExpr:something |
|
28 |
targetExpr := something. |
|
29 |
! ! |
|
30 |
||
31 |
!AstReplaceValueOfExpr methodsFor:'testing'! |
|
32 |
||
33 |
isAstReplaceValueOfExpr |
|
34 |
||
35 |
^ true |
|
274 | 36 |
! |
37 |
||
38 |
isUpdatingExpression |
|
39 |
||
40 |
^true |
|
41 |
||
42 |
"Created: / 13-02-2012 / 20:54:07 / Adam Senk <senkadam@gmail.com>" |
|
0 | 43 |
! ! |
44 |
||
45 |
!AstReplaceValueOfExpr methodsFor:'visiting'! |
|
46 |
||
47 |
acceptVisitor:aVisitor |
|
48 |
"Double dispatch back to the visitor, passing my type encoded in |
|
49 |
the selector (visitor pattern)" |
|
50 |
||
51 |
"stub code automatically generated - please change if required" |
|
52 |
||
53 |
^ aVisitor visitAstReplaceValueOfExpr:self |
|
54 |
! ! |
|
55 |
||
56 |
!AstReplaceValueOfExpr class methodsFor:'documentation'! |
|
57 |
||
232
9d8fd28b99b0
branch datatypes reintegrated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
58 |
version_SVN |
9d8fd28b99b0
branch datatypes reintegrated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
59 |
^ '$Id$' |
0 | 60 |
! ! |