compiler/PPCUnknownNode.st
changeset 421 7e08b31e0dae
parent 414 0eaf09920532
child 422 116d2b2af905
--- a/compiler/PPCUnknownNode.st	Wed Nov 19 10:52:37 2014 +0000
+++ b/compiler/PPCUnknownNode.st	Mon Nov 24 00:09:23 2014 +0000
@@ -7,6 +7,13 @@
 	category:'PetitCompiler-Nodes'
 !
 
+
+!PPCUnknownNode class methodsFor:'as yet unclassified'!
+
+new
+	^ self basicNew initialize
+! !
+
 !PPCUnknownNode methodsFor:'accessing'!
 
 acceptsEpsilon
@@ -29,6 +36,10 @@
 	^ parser isContextFreePrim
 !
 
+isNullable
+	^ parser isNullable
+!
+
 parser
 	
 	^ parser
@@ -49,6 +60,17 @@
 	^ parser firstCharSet
 ! !
 
+!PPCUnknownNode methodsFor:'comparison'!
+
+= anotherNode
+	super = anotherNode ifFalse: [ ^ false ].
+	^ parser = anotherNode parser.
+!
+
+hash
+	^ super hash bitXor: parser hash
+! !
+
 !PPCUnknownNode methodsFor:'compiling'!
 
 compileWith: compiler effect: effect id: id
@@ -81,3 +103,10 @@
 	parser replace: node with: anotherNode
 ! !
 
+!PPCUnknownNode class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+