研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >屏蔽 >getNextBlock
Block.getNextBlock() 方法
返回与此块直接关联的下一个语句块。
Signature:
getNextBlock(): Block | null;
返回:
屏蔽 |null
下一个语句块或 null。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["The `getNextBlock()` method retrieves the next statement block directly connected to the current block."],["It returns either a `Block` object representing the next statement or `null` if there isn't one."]]],["The `getNextBlock()` method, part of the `Block` class, retrieves the next statement block that is directly connected to the current block. It returns either a `Block` object, representing the next block in the sequence, or `null` if there is no subsequent block. This method helps in navigating the chain of blocks in a sequence.\n"]]