I want to implement my parser work like this demo "http://mazko.github.io/jsjavaparser/"
but my parser return object and finish like this

how can I convert that object to AST ?
what's problem in my code ?
I'm using vuejs and npm 7.24.0
here is my code:
var japa = require("java-parser");
console.log(japa.parse(string));
pls, I need help
thanks
I want to implement my parser work like this demo "http://mazko.github.io/jsjavaparser/"
but my parser return object and finish like this

how can I convert that object to AST ?
what's problem in my code ?
I'm using vuejs and npm 7.24.0
here is my code:
pls, I need help
thanks