インタフェースjdk.nashorn.api.tree.DiagnosticListenerの
使用
-
DiagnosticListenerを使用しているパッケージ パッケージ 説明 jdk.nashorn.api.tree NashornパーサーAPIは、ECMAScriptソース・コードを抽象構文ツリー(AST)およびParserとして表現するためのインタフェースを提供し、ECMAScriptソース・スクリプトを解析します。 -
-
jdk.nashorn.api.treeでのDiagnosticListenerの使用
型DiagnosticListenerのパラメータを持つjdk.nashorn.api.treeのメソッド 修飾子と型 メソッド 説明 CompilationUnitTree
Parser. parse(File file, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。ソース・ファイルを解析し、コンパイル単位ツリーを返します。CompilationUnitTree
Parser. parse(String name, Reader reader, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。リーダーを解析し、コンパイル単位ツリーを返します。CompilationUnitTree
Parser. parse(String name, String code, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。文字列ソースを解析し、コンパイル単位ツリーを返します。CompilationUnitTree
Parser. parse(URL url, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。ソースURLを解析し、コンパイル単位ツリーを返します。CompilationUnitTree
Parser. parse(Path path, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。ソース・パスを解析し、コンパイル単位ツリーを返します。CompilationUnitTree
Parser. parse(ScriptObjectMirror scriptObj, DiagnosticListener listener)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。スクリプト・オブジェクトからソースを解析し、コンパイル単位ツリーを返します。
-