compiler/tests/extras/PPCLL1ExpressionGrammarTest_Tokenized.st
author Jan Vrany <jan.vrany@labware.com>
Wed, 10 Jun 2020 21:33:27 +0100
changeset 650 4c6ed0a28d18
parent 538 16e8536f5cfb
permissions -rw-r--r--
Replace `ifNil:[...]` with `isNil ifTrue:[...]` The latter is optimized by compilers and therefore faster.

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

"{ NameSpace: Smalltalk }"

PPCLL1ExpressionGrammarTest subclass:#PPCLL1ExpressionGrammarTest_Tokenized
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Extras-Tests-Expressions'
!

!PPCLL1ExpressionGrammarTest_Tokenized methodsFor:'accessing'!

compiler
    ^ PPCCompiler newWithOptions: #( #tokenize: true )

    "Modified: / 07-09-2015 / 11:36:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !