compiler/tests/extras/extensions.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 25 Aug 2015 01:30:32 +0100
changeset 530 e36906742693
parent 524 f6f68d32de73
permissions -rw-r--r--
PPCConfiguration refactoring: [2/10]: introduced PPCCompilationContext Moved parser class/scanner class instvars from PPCConfiguration subclasses to the context. Made PPCConfiguration to keep an instance of context. This is a preparation for having only one PPCConfiguration-like class.

"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"!

!PPJavaWhitespaceParser methodsFor:'*PetitCompiler-Extras-Tests'!

= anotherParser
    anotherParser == self ifTrue: [ ^ true ].
   anotherParser class = self class ifFalse: [ ^ false ].
 ^ anotherParser name = self name
! !

!PPJavaWhitespaceParser methodsFor:'*PetitCompiler-Extras-Tests'!

hash
    ^ self name hash
! !

!stx_goodies_petitparser_compiler_tests_extras class methodsFor:'documentation'!

extensionsVersion_HG

    ^ '$Changeset: <not expanded> $'
! !