compiler/PPCStarMessagePredicateNode.st
changeset 464 f6d77fee9811
parent 452 9f4558b3be66
child 515 b5316ef15274
--- a/compiler/PPCStarMessagePredicateNode.st	Tue May 12 01:24:03 2015 +0100
+++ b/compiler/PPCStarMessagePredicateNode.st	Thu May 21 14:12:22 2015 +0100
@@ -11,10 +11,6 @@
 
 !PPCStarMessagePredicateNode methodsFor:'accessing'!
 
-children
-    ^ #()
-!
-
 firstCharSet
     ^ PPCharSetPredicate on: [:char | char perform: message ] 	
 !
@@ -33,24 +29,6 @@
     ^ #starPredicate
 ! !
 
-!PPCStarMessagePredicateNode methodsFor:'analysis'!
-
-firstSets: aFirstDictionary into: aSet suchThat: aBlock
-    "
-        First and follow should be performed on the non-specialized tree, i.e. on a tree
-        with star -> messageNode. Not on myself.
-        
-        The reason for that is, that:
-        - I am terminal
-        - I am nullable
-        
-        This means, I look like epsilon node for the first follow analysis. And epsilons 
-        are ignored in sequences, thus sequence of StarMessagePredicate, Literal
-        leads to { Literal } as firstSet and not expected { MessagePredicate, Literal }
-    "
-    ^ self error: 'Cannot perform first/follow analysis on myself, sorry for that :('
-! !
-
 !PPCStarMessagePredicateNode methodsFor:'comparing'!
 
 = anotherNode