code: def p_typename(self,t):
      "typename : NAME \n | NAME '(' INTLIT ')'"
      t[0] = TypeX(t[1],None) if len(t) == 2 else TypeX(t[1],int(t[3])f p_typename(self,t):
      "typename : NAME \n | NAME '(' INTLIT ')'"
      t[0] = TypeX(t[1],None) if len(t) == 2 else TypeX(t[1],int(t[3]))
docs: typename : NAME \n | NAME '(' INTLIT ')