compiler/PPCCharacterNode.st
changeset 391 553a5456963b
child 392 9b297f0d949c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/PPCCharacterNode.st	Sun Oct 26 01:03:31 2014 +0000
@@ -0,0 +1,32 @@
+"{ Package: 'stx:goodies/petitparser/compiler' }"
+
+PPCAbstractCharacterNode subclass:#PPCCharacterNode
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Nodes'
+!
+
+PPCCharacterNode comment:''
+!
+
+!PPCCharacterNode methodsFor:'as yet unclassified'!
+
+start: compiler id: id
+	compiler startMethod: id.
+	compiler add: '^ '.
+!
+
+stop: compiler
+	^ compiler stopMethod
+! !
+
+!PPCCharacterNode methodsFor:'optimizing'!
+
+asInlined
+	^ PPCInlineCharacterNode new
+		character: character;
+		name: name;
+		yourself
+! !
+