nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java
changeset 39662 e2b36a3779b9
parent 35325 7624a7d7e661
equal deleted inserted replaced
39604:8e45018bde9d 39662:e2b36a3779b9
    60      * Returns null if the line map is not available.
    60      * Returns null if the line map is not available.
    61      *
    61      *
    62      * @return the line map for this compilation unit
    62      * @return the line map for this compilation unit
    63      */
    63      */
    64     LineMap getLineMap();
    64     LineMap getLineMap();
       
    65 
       
    66     /**
       
    67      * Return the {@link ModuleTree} associated with this compilation unit. This is null,
       
    68      * if there is no module information from this compilation unit.
       
    69      *
       
    70      * @return the Module info or null
       
    71      */
       
    72     ModuleTree getModule();
    65 }
    73 }