Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > ASTNode > en
Método ASTNode.in()
Busca el elemento un nivel más abajo y hacia la izquierda de la ubicación actual.
Signature:
in(): ASTNode | null;
Muestra:
ASTNode | nulo
Un nodo de AST que une el siguiente campo, conexión, lugar de trabajo o bloque. O nulo si no hay nada debajo de este nodo.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-09-11 (UTC)
[null,null,["Última actualización: 2024-09-11 (UTC)"],[[["The `ASTNode.in()` method helps locate the element immediately below and to the far left of the current position within the Abstract Syntax Tree (AST)."],["It returns either an ASTNode object representing the next field, connection, workspace, or block, or null if no element is found below the current node."],["This method effectively assists in traversing and analyzing the structure of the Blockly code represented by the AST."]]],["The `ASTNode.in()` method locates the element immediately below and to the left of the current node. It returns an `ASTNode` representing the next field, connection, workspace, or block found in that position. If no element exists below the current node, the method returns `null`. The return type is either an `ASTNode` object or `null`.\n"]]