localGrammar.expandInPlace();
this.alreadyExpanded = true;
GrammarFile localGrammarFile = this.hier.getFile(getFileName());
localGrammarFile.setExpanded(true);
IndexedVector localIndexedVector = localGrammar.getRules();
Object localObject1 = localIndexedVector.elements();
Object localObject2;
while (((Enumeration)localObject1).hasMoreElements())
{
localObject2 = (Rule)((Enumeration)localObject1).nextElement();
inherit((Rule)localObject2, localGrammar);