compiler/tests/extras/PPTokenizedSmalltalkVerificationTest.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 05 Jun 2015 00:05:08 +0100
changeset 484 e829f3860745
parent 454 a9cd5ea7cc36
permissions -rw-r--r--
Do not create intermediate collection when parsing sequence if not necesary. The collection is not needed when the result of a choice is being used in mapped parser. In that case, store parsed objects in variables and inline action code to use these variables to access parsed objects.

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

"{ NameSpace: Smalltalk }"

PPCSmalltalkVerificationTest subclass:#PPTokenizedSmalltalkVerificationTest
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Extras-Tests-Smalltalk'
!


!PPTokenizedSmalltalkVerificationTest class methodsFor:'as yet unclassified'!

resources
    ^ (OrderedCollection with: PPTokenizedSmalltalkGrammarResource)
        addAll: super resources;
        yourself
! !

!PPTokenizedSmalltalkVerificationTest methodsFor:'accessing'!

compiledSmalltalkGrammarClass
    ^ (Smalltalk at: #PPTokenizedSmalltalkGrammar)
! !

!PPTokenizedSmalltalkVerificationTest methodsFor:'tests'!

testSmalltalk
    super testSmalltalk
!

testSmalltalkClass
    super testSmalltalkClass
!

testSmalltalkObject
    super testSmalltalkObject
! !

!PPTokenizedSmalltalkVerificationTest class methodsFor:'documentation'!

version_HG

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