equal
deleted
inserted
replaced
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
2 |
2 |
3 "{ NameSpace: Smalltalk }" |
3 "{ NameSpace: Smalltalk }" |
4 |
4 |
5 Object subclass:#PPCNodeVisitor |
5 Object subclass:#PPCNodeVisitor |
6 instanceVariableNames:'openSet closeSet cache arguments' |
6 instanceVariableNames:'openSet closeSet cache options' |
7 classVariableNames:'' |
7 classVariableNames:'' |
8 poolDictionaries:'' |
8 poolDictionaries:'' |
9 category:'PetitCompiler-Visitors' |
9 category:'PetitCompiler-Visitors' |
10 ! |
10 ! |
11 |
11 |
15 ^ self basicNew initialize |
15 ^ self basicNew initialize |
16 ! ! |
16 ! ! |
17 |
17 |
18 !PPCNodeVisitor methodsFor:'accessing'! |
18 !PPCNodeVisitor methodsFor:'accessing'! |
19 |
19 |
20 arguments: args |
20 options: args |
21 arguments := args |
21 options := args |
22 ! ! |
22 ! ! |
23 |
23 |
24 !PPCNodeVisitor methodsFor:'hooks'! |
24 !PPCNodeVisitor methodsFor:'hooks'! |
25 |
25 |
26 afterAccept: node retval: retval |
26 afterAccept: node retval: retval |