update doc

This commit is contained in:
Renaud Pawlak 2017-07-25 10:14:53 +02:00
parent d96e8af42f
commit cd452af9d4
3 changed files with 2 additions and 0 deletions

View File

@ -1634,6 +1634,7 @@ Here, we will step through how to tune the JSweet generation to generate strings
First, create the `HelloWorldAdapter.java` file in the `jsweet_extension` directory at the root of your project. Copy and paste the following code in that file:
``` java
import org.jsweet.transpiler.extension.PrinterAdapter;
public class HelloWorldAdapter extends PrinterAdapter {
public HelloWorldAdapter(PrinterAdapter parent) {
super(parent);

View File

@ -1648,6 +1648,7 @@ Here, we will step through how to tune the JSweet generation to generate strings
First, create the \texttt{HelloWorldAdapter.java} file in the \texttt{jsweet\_extension} directory at the root of your project. Copy and paste the following code in that file:
\begin{lstlisting}[language=Java]
import org.jsweet.transpiler.extension.PrinterAdapter;
public class HelloWorldAdapter extends PrinterAdapter {
public HelloWorldAdapter(PrinterAdapter parent) {
super(parent);