|
@ -92,7 +92,7 @@ class NonTerminal: |
|
|
self.__addAtomToFirstSet(innerAtom) |
|
|
self.__addAtomToFirstSet(innerAtom) |
|
|
|
|
|
|
|
|
def getFirstSet(self): |
|
|
def getFirstSet(self): |
|
|
if self.__firstSetIsGenrated == False: |
|
|
|
|
|
|
|
|
if self.__firstSetIsGenerated == False: |
|
|
self.generateFirstSet(); |
|
|
self.generateFirstSet(); |
|
|
|
|
|
|
|
|
return self.__first |
|
|
return self.__first |
|
|