diff -r b2f2f15cef26 -r 7e08b31e0dae compiler/PPCUnknownNode.st --- 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: $' +! ! +