Uses of Interface
jdk.nashorn.api.tree.CompilationUnitTree
-
Packages that use CompilationUnitTree 软件包 描述 jdk.nashorn.api.tree Nashorn解析器API提供了将ECMAScript源代码表示为抽象语法树(AST)和解析器来解析ECMAScript源脚本的接口。 -
-
Uses of CompilationUnitTree in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree that return CompilationUnitTree Modifier and Type 方法 描述 CompilationUnitTree
Parser. parse(File file, DiagnosticListener listener)
解析源文件并返回编译单元树CompilationUnitTree
Parser. parse(String name, Reader reader, DiagnosticListener listener)
解读读者并返回编译单元树CompilationUnitTree
Parser. parse(String name, String code, DiagnosticListener listener)
解析字符串源并返回编译单元树CompilationUnitTree
Parser. parse(URL url, DiagnosticListener listener)
解析源URL并返回编译单元树CompilationUnitTree
Parser. parse(Path path, DiagnosticListener listener)
解析源路径并返回编译单元树CompilationUnitTree
Parser. parse(ScriptObjectMirror scriptObj, DiagnosticListener listener)
从脚本对象解析源并返回编译单元树Methods in jdk.nashorn.api.tree with parameters of type CompilationUnitTree Modifier and Type 方法 描述 R
SimpleTreeVisitorES5_1. visitCompilationUnit(CompilationUnitTree node, P r)
R
SimpleTreeVisitorES6. visitCompilationUnit(CompilationUnitTree node, P r)
R
TreeVisitor. visitCompilationUnit(CompilationUnitTree node, P p)
访问编译单元树。
-