compiler/PEGFsaInterpretRecord.st
changeset 515 b5316ef15274
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/PEGFsaInterpretRecord.st	Mon Aug 17 12:13:16 2015 +0100
@@ -0,0 +1,36 @@
+"{ 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.
+! !
+