סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > ASTNode > createConnectionNode
שיטת ASTNode.createConnectionNode()
יצירת צומת AST שמצביע לחיבור. אם לחיבור יש קלט הורה, יוצרים צומת AST מסוג קלט שישמור את החיבור.
Signature:
static createConnectionNode(connection: Connection): ASTNode | null;
פרמטרים
פרמטר |
סוג |
תיאור |
חיבור |
חיבור |
זה החיבור שאליו יצביע הצומת. |
החזרות:
ASTNode | null
צומת AST שמפנה לחיבור.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-11 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-11 (שעון UTC)."],[[["The `ASTNode.createConnectionNode()` method creates an AST node that references a specific connection within a Blockly workspace."],["If the target connection is part of a parent input, the method generates an input-type AST node to encapsulate the connection."],["The method accepts a `Connection` object as input, representing the connection to be associated with the new AST node."],["An `ASTNode` object, or `null` if node creation fails, is returned by the method, representing the created node pointing to the connection."]]],[]]