MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / makeConnection_

Method makeConnection_

packages/blockly/core/block.ts:2493–2495  ·  view source on GitHub ↗

* Create a connection of the specified type. * * @param type The type of the connection to create. * @returns A new connection of the specified type. * @internal

(type: ConnectionType)

Source from the content-addressed store, hash-verified

2491 * @internal
2492 */
2493 makeConnection_(type: ConnectionType): Connection {
2494 return new Connection(this, type);
2495 }
2496
2497 /**
2498 * Recursively checks whether all statement and value inputs are filled with

Callers 4

setPreviousStatementMethod · 0.95
setNextStatementMethod · 0.95
setOutputMethod · 0.95
makeConnectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected