next up previous
Next: Symbol Up: No Title Previous: JLex Example: Expressions

Tokens

This class will later be generated by the parser generator.
\begin{program}
{\vem package}~expression;
\\ {\vem interface}~Tokens~\{
\\ ~~~~...
 ...=~LPAREN~+~1;
\\ ~~~~~~~~{\vem int}~NUMLIT~\\ gt=~RPAREN~+~1;
\\ \}\end{program}



Christoph Zenger
3/23/2000