compiler/extensions.st
changeset 524 f6f68d32de73
parent 515 b5316ef15274
child 525 751532c8f3db
equal deleted inserted replaced
515:b5316ef15274 524:f6f68d32de73
   289 
   289 
   290 !PPFailure methodsFor:'*petitcompiler'!
   290 !PPFailure methodsFor:'*petitcompiler'!
   291 
   291 
   292 position: anInteger
   292 position: anInteger
   293     position := anInteger
   293     position := anInteger
   294 ! !
       
   295 
       
   296 !PPJavaWhitespaceParser methodsFor:'*petitcompiler'!
       
   297 
       
   298 = anotherParser
       
   299     anotherParser == self ifTrue: [ ^ true ].
       
   300    anotherParser class = self class ifFalse: [ ^ false ].
       
   301  ^ anotherParser name = self name
       
   302 ! !
       
   303 
       
   304 !PPJavaWhitespaceParser methodsFor:'*petitcompiler'!
       
   305 
       
   306 hash
       
   307     ^ self name hash
       
   308 ! !
   294 ! !
   309 
   295 
   310 !PPLiteralObjectParser methodsFor:'*petitcompiler'!
   296 !PPLiteralObjectParser methodsFor:'*petitcompiler'!
   311 
   297 
   312 asCompilerNode
   298 asCompilerNode