mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
Correct typo in documentation
This commit is contained in:
parent
b5428f41ce
commit
3d088fb6a1
@ -441,7 +441,7 @@ for (Node node : nodes) {
|
|||||||
|
|
||||||
\section{Enums}
|
\section{Enums}
|
||||||
|
|
||||||
JSweet allows the definition of enums similarly to Java. The following code declares an enum with tree possible values (\texttt{A}, \texttt{B}, and \texttt{C}).
|
JSweet allows the definition of enums similarly to Java. The following code declares an enum with three possible values (\texttt{A}, \texttt{B}, and \texttt{C}).
|
||||||
|
|
||||||
\begin{lstlisting}[language=Java]
|
\begin{lstlisting}[language=Java]
|
||||||
enum MyEnum {
|
enum MyEnum {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user