compiler/PEGFsaInterpretRecord.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Sep 2015 07:13:16 +0100
changeset 547 0b8c75af51a0
parent 515 b5316ef15274
permissions -rw-r--r--
Portability: Removed tests/asserts referring to BlockClosure Due to historical reasons, there's no BlockClosure in Smalltalk/X, the class is named Block. Conversely, there's no Block in Squeak/Pharo.

"{ 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.
! !