def next(self) -> "ArrayEntry":
        """Return an instance node corresponding to the next entry.

        Raises:
            NonexistentInstance: If the receiver is the last entry of the parent array.
        """
        try:
            newval, naft = self.after.pop()
        except IndexError:
            raise NonexistentInstance(self.json_pointer(), "next of last") from None
        return ArrayEntry(
            self.index + 1, self.before.cons(self.value), naft, newval,
            self.parinst, self.schema_node, self.timestamp)
def next ( self ) -> "ArrayEntry" : try : newval , naft = self . after . pop ( ) except IndexError : raise NonexistentInstance ( self . json_pointer ( ) , "next of last" ) from None return ArrayEntry ( self . index + 1 , self . before . cons ( self . value ) , naft , newval , self . parinst , self . schema_node , self . timestamp )
Return an instance node corresponding to the next entry.

        Raises:
            NonexistentInstance: If the receiver is the last entry of the parent array.