compiler/PEGFsaInterpretRecord.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 18 Aug 2015 21:47:50 +0100
changeset 521 c1a810e250dc
parent 515 b5316ef15274
permissions -rw-r--r--
Fixed LRP tests. Removed tests for tokendized LRPParser (not yet supported)

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

"{ NameSpace: Smalltalk }"

Object subclass:#PEGFsaInterpretRecord
	instanceVariableNames:'maxPriority position'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-FSA'
!

!PEGFsaInterpretRecord methodsFor:'accessing'!

maxPriority
    ^ maxPriority
!

maxPriority: anObject
    maxPriority := anObject
!

position
    ^ position
!

position: anObject
    position := anObject
! !

!PEGFsaInterpretRecord methodsFor:'initialize'!

initialize
    super initialize.
    maxPriority := SmallInteger minVal.
! !