compiler/tests/PPCompiledExpressionGrammarResource.st
changeset 465 f729f6cd3c76
parent 463 d4014e0a47a0
parent 464 f6d77fee9811
child 466 ac2d987a03d3
equal deleted inserted replaced
463:d4014e0a47a0 465:f729f6cd3c76
     1 "{ Package: 'stx:goodies/petitparser/compiler/tests' }"
       
     2 
       
     3 "{ NameSpace: Smalltalk }"
       
     4 
       
     5 TestResource subclass:#PPCompiledExpressionGrammarResource
       
     6 	instanceVariableNames:''
       
     7 	classVariableNames:''
       
     8 	poolDictionaries:''
       
     9 	category:'PetitCompiler-Tests-ExpressionGrammar'
       
    10 !
       
    11 
       
    12 
       
    13 !PPCompiledExpressionGrammarResource methodsFor:'as yet unclassified'!
       
    14 
       
    15 setUp
       
    16     | time configuration |
       
    17     configuration := PPCConfiguration universal.
       
    18     configuration arguments name: #PPCompiledExpressionGrammar.
       
    19     
       
    20     
       
    21     time := Time millisecondsToRun: [
       
    22         PPExpressionGrammar new compileWithConfiguration: configuration.
       
    23     ].
       
    24     Transcript show: 'Exprssion grammar compiled in: '; show: time asString; show: 'ms'; cr.
       
    25 
       
    26     "Modified: / 01-05-2015 / 14:40:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    27 ! !
       
    28 
       
    29 !PPCompiledExpressionGrammarResource class methodsFor:'documentation'!
       
    30 
       
    31 version_HG
       
    32 
       
    33     ^ '$Changeset: <not expanded> $'
       
    34 ! !
       
    35