調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
blockly > ASTNode > out
ASTNode.out() メソッド
現在の位置の 1 つ上の位置で、左端にある次の要素を見つけます。
署名:
out(): ASTNode | null;
戻り値:
ASTNode |null
次のフィールド、接続、ワークスペース、またはブロックをラップする AST ノード。ワークスペース レベルの場合は null です。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["The `ASTNode.out()` method is used to navigate the Abstract Syntax Tree (AST) structure."],["It locates and returns the AST node that is positioned one level above and to the extreme left of the current node."],["If the current node is at the workspace level, signifying the top-most level of the AST, it returns null."]]],["The `ASTNode.out()` method locates the next element positioned one level above and to the far left of the current element. It returns an `ASTNode` representing the next field, connection, workspace, or block. If the current element is at the workspace level, the method returns `null`, indicating no element exists above it. This function's signature shows it returns either an `ASTNode` object or `null`.\n"]]