インタフェースjdk.nashorn.api.tree.BlockTreeの
使用
-
BlockTreeを使用するパッケージ パッケージ 説明 jdk.nashorn.api.tree NashornパーサーAPIは、ECMAScriptソース・コードを抽象構文ツリー(AST)およびParserとして表現するためのインタフェースを提供し、ECMAScriptソース・スクリプトを解析します。 -
-
jdk.nashorn.api.treeでのBlockTreeの使用
BlockTreeを戻すjdk.nashorn.api.treeのメソッド 修飾子と型 メソッド 説明 BlockTree
CatchTree. getBlock()
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このcatchブロックのコード・ブロックを返します。BlockTree
TryTree. getBlock()
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。この'try'文の'try'ブロックを返します。BlockTree
FunctionDeclarationTree. getBody()
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。この関数のコード本文を返します。BlockTree
TryTree. getFinallyBlock()
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。この'try'に関連付けられた'finally'ブロックを返します。型BlockTreeのパラメータを持つjdk.nashorn.api.treeのメソッド 修飾子と型 メソッド 説明 R
TreeVisitor. visitBlock(BlockTree node, P p)
削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。block文ツリーをビジットします。
-