Given a frame that has code rendered in a \begin{lstlisting}...\end{lstlisting} environment, is it possible to use beamer's incremental frame building feature to highlight code snippets?
Here is an example of what I would like to use:
\begin{frame}[fragile]{Test}
\begin{lstlisting}
x = y \alert<2->{// Assigns the value of y to x.}
\end{lstlisting}
\end{frame}
