Uses of Interface
jdk.nashorn.api.tree.CompilationUnitTree
-
Packages that use CompilationUnitTree Package Description jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts. -
-
Uses of CompilationUnitTree in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree that return CompilationUnitTree Modifier and Type Method Description CompilationUnitTreeParser. parse(File file, DiagnosticListener listener)Parses the source file and returns compilation unit treeCompilationUnitTreeParser. parse(String name, Reader reader, DiagnosticListener listener)Parses the reader and returns compilation unit treeCompilationUnitTreeParser. parse(String name, String code, DiagnosticListener listener)Parses the string source and returns compilation unit treeCompilationUnitTreeParser. parse(URL url, DiagnosticListener listener)Parses the source url and returns compilation unit treeCompilationUnitTreeParser. parse(Path path, DiagnosticListener listener)Parses the source Path and returns compilation unit treeCompilationUnitTreeParser. parse(ScriptObjectMirror scriptObj, DiagnosticListener listener)Parses the source from script object and returns compilation unit treeMethods in jdk.nashorn.api.tree with parameters of type CompilationUnitTree Modifier and Type Method Description RSimpleTreeVisitorES5_1. visitCompilationUnit(CompilationUnitTree node, P r)RSimpleTreeVisitorES6. visitCompilationUnit(CompilationUnitTree node, P r)RTreeVisitor. visitCompilationUnit(CompilationUnitTree node, P p)Visit compilation unit tree.
-