/**
* Gets the relative path name inside the output directory where
* the AST JavaScript should be written.
*/
public String getRelativePath() {
ExpressionTree packageName = compUnit.getPackageName();
String pkg = packageName==null?"":packageName.toString().replace('.','/')+'/';
String name = TreeUtil.getPrimaryTypeName(compUnit);
return pkg + name+".js";
}