compiler/PPCConfiguration.st
changeset 530 e36906742693
parent 529 439c4057517f
child 531 dc3d13c2837d
equal deleted inserted replaced
529:439c4057517f 530:e36906742693
     1 "{ Package: 'stx:goodies/petitparser/compiler' }"
     1 "{ Package: 'stx:goodies/petitparser/compiler' }"
     2 
     2 
     3 "{ NameSpace: Smalltalk }"
     3 "{ NameSpace: Smalltalk }"
     4 
     4 
     5 Object subclass:#PPCConfiguration
     5 Object subclass:#PPCConfiguration
     6 	instanceVariableNames:'options ir history'
     6 	instanceVariableNames:'context options ir history'
     7 	classVariableNames:''
     7 	classVariableNames:''
     8 	poolDictionaries:''
     8 	poolDictionaries:''
     9 	category:'PetitCompiler-Core'
     9 	category:'PetitCompiler-Core'
    10 !
    10 !
    11 
    11 
   156 
   156 
   157 !PPCConfiguration methodsFor:'initialization'!
   157 !PPCConfiguration methodsFor:'initialization'!
   158 
   158 
   159 initialize
   159 initialize
   160     history := OrderedCollection new.
   160     history := OrderedCollection new.
       
   161     context := PPCCompilationContext new.
   161     options := PPCCompilationOptions default.
   162     options := PPCCompilationOptions default.
   162 
   163 
   163     "Modified: / 24-08-2015 / 23:39:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   164     "Modified: / 25-08-2015 / 00:02:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   164 ! !
   165 ! !
   165 
   166 
   166 !PPCConfiguration methodsFor:'phases'!
   167 !PPCConfiguration methodsFor:'phases'!
   167 
   168 
   168 cacheFirstFollow
   169 cacheFirstFollow