This is a tool for converting Java source to AST representation.
AST file support the follow formats.
- yaml
- xml
The specified directory contains Java sources and output AST files (default is /bouffier-java-project
)
This directory should have the following composition.
projects/
├── out
│ └── {{AST files will be outputed here}}
└── source
└── {{Java sources}}
So, you need to create a directory in this format and mount it.
The format of output AST file. (default is yaml
)
You can choose the following format.
- yaml
- xml
You can choose the following type.
- file
- method
Clone this repository and put java sources in /tests/resources/source
.
Run by docker-compose.
$ docker-compose -f docker-compose.sample.yml up