0
|
1 |
"{ Package: 'stx:goodies/xmlsuite/xquery' }"
|
|
2 |
|
|
3 |
"{ NameSpace: XQuery }"
|
|
4 |
|
|
5 |
AstNode subclass:#AstFunctionDecl
|
|
6 |
instanceVariableNames:'name paramList body'
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'XQuery-AST'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!AstFunctionDecl methodsFor:'accessing'!
|
|
14 |
|
|
15 |
body
|
|
16 |
^ body
|
|
17 |
|
|
18 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
19 |
!
|
|
20 |
|
|
21 |
body:something
|
|
22 |
body := something.
|
|
23 |
|
|
24 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
25 |
!
|
|
26 |
|
|
27 |
name
|
|
28 |
^ name
|
|
29 |
|
|
30 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
31 |
!
|
|
32 |
|
|
33 |
name:something
|
|
34 |
name := something.
|
|
35 |
|
|
36 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
37 |
!
|
|
38 |
|
|
39 |
paramList
|
|
40 |
^ paramList
|
|
41 |
|
|
42 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
43 |
!
|
|
44 |
|
|
45 |
paramList:something
|
|
46 |
paramList := something.
|
|
47 |
|
|
48 |
"Created: / 28-12-2006 / 13:47:38 / janfrog"
|
|
49 |
! !
|
|
50 |
|
|
51 |
!AstFunctionDecl methodsFor:'visiting'!
|
|
52 |
|
|
53 |
acceptVisitor:aVisitor
|
|
54 |
"Double dispatch back to the visitor, passing my type encoded in
|
|
55 |
the selector (visitor pattern)"
|
|
56 |
|
|
57 |
"stub code automatically generated - please change if required"
|
|
58 |
|
|
59 |
^ aVisitor visitAstFunctionDecl:self
|
|
60 |
|
|
61 |
"Created: / 28-12-2006 / 14:03:11 / janfrog"
|
|
62 |
! !
|
|
63 |
|
|
64 |
!AstFunctionDecl class methodsFor:'documentation'!
|
|
65 |
|
|
66 |
version
|
|
67 |
^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xquery/XQuery__AstFunctionDecl.st,v 1.1 2007-01-03 08:52:54 vranyj1 Exp $'
|
|
68 |
! !
|