compiler/tests/PPCMockCompiler.st
changeset 391 553a5456963b
child 392 9b297f0d949c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/PPCMockCompiler.st	Sun Oct 26 01:03:31 2014 +0000
@@ -0,0 +1,39 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests' }"
+
+Object subclass:#PPCMockCompiler
+	instanceVariableNames:'lines'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Tests-Core'
+!
+
+PPCMockCompiler comment:''
+!
+
+!PPCMockCompiler methodsFor:'accessing'!
+
+lines
+	
+	^ lines
+!
+
+lines: anObject
+	
+	lines := anObject
+! !
+
+!PPCMockCompiler methodsFor:'as yet unclassified'!
+
+add: string
+	lines add: string
+!
+
+addConstant: object as: id
+	"TODO"
+!
+
+initialize
+	super initialize.
+	lines := OrderedCollection new.
+! !
+