compiler/PPCNodeVisitor.st
changeset 532 132d7898a2a1
parent 529 439c4057517f
child 534 a949c4fe44df
equal deleted inserted replaced
531:dc3d13c2837d 532:132d7898a2a1
     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 options'
     6 	instanceVariableNames:'openSet closeSet cache'
     7 	classVariableNames:''
     7 	classVariableNames:''
     8 	poolDictionaries:''
     8 	poolDictionaries:''
     9 	category:'PetitCompiler-Visitors'
     9 	category:'PetitCompiler-Visitors'
    10 !
    10 !
    11 
    11 
    12 !PPCNodeVisitor class methodsFor:'instance creation'!
    12 !PPCNodeVisitor class methodsFor:'instance creation'!
    13 
    13 
    14 new
    14 new
    15     ^ self basicNew initialize
    15     ^ self basicNew initialize
    16 ! !
       
    17 
       
    18 !PPCNodeVisitor methodsFor:'accessing'!
       
    19 
       
    20 options: args
       
    21     options := args
       
    22 ! !
    16 ! !
    23 
    17 
    24 !PPCNodeVisitor methodsFor:'hooks'!
    18 !PPCNodeVisitor methodsFor:'hooks'!
    25 
    19 
    26 afterAccept: node retval: retval
    20 afterAccept: node retval: retval