mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 07:19:22 +00:00
update doc
This commit is contained in:
parent
d96e8af42f
commit
cd452af9d4
@ -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);
|
||||
|
||||
Binary file not shown.
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user