Uses of Interface
org.openjdk.nashorn.api.tree.CompilationUnitTree
Packages that use CompilationUnitTree
Package
Description
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 org.openjdk.nashorn.api.tree
Methods in org.openjdk.nashorn.api.tree that return CompilationUnitTreeModifier and TypeMethodDescriptionParser.parse
(File file, DiagnosticListener listener) Parses the source file and returns compilation unit treeParser.parse
(String name, Reader reader, DiagnosticListener listener) Parses the reader and returns compilation unit treeParser.parse
(String name, String code, DiagnosticListener listener) Parses the string source and returns compilation unit treeParser.parse
(URL url, DiagnosticListener listener) Parses the source url and returns compilation unit treeParser.parse
(Path path, DiagnosticListener listener) Parses the source Path and returns compilation unit treeParser.parse
(ScriptObjectMirror scriptObj, DiagnosticListener listener) Parses the source from script object and returns compilation unit treeMethods in org.openjdk.nashorn.api.tree with parameters of type CompilationUnitTreeModifier and TypeMethodDescriptionSimpleTreeVisitorES5_1.visitCompilationUnit
(CompilationUnitTree node, P r) SimpleTreeVisitorES6.visitCompilationUnit
(CompilationUnitTree node, P r) TreeVisitor.visitCompilationUnit
(CompilationUnitTree node, P p) Visit compilation unit tree.