diff --git a/doc/jsweet-language-specifications.md b/doc/jsweet-language-specifications.md index 8ad4f60e..4b540dc1 100644 --- a/doc/jsweet-language-specifications.md +++ b/doc/jsweet-language-specifications.md @@ -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); diff --git a/doc/jsweet-language-specifications.pdf b/doc/jsweet-language-specifications.pdf index 16425774..e20ae76d 100644 Binary files a/doc/jsweet-language-specifications.pdf and b/doc/jsweet-language-specifications.pdf differ diff --git a/doc/jsweet-language-specifications.tex b/doc/jsweet-language-specifications.tex index 304c0209..1a45bbc2 100644 --- a/doc/jsweet-language-specifications.tex +++ b/doc/jsweet-language-specifications.tex @@ -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);