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

Method getSourceBlock

packages/blockly/core/inputs/input.ts:65–67  ·  view source on GitHub ↗

* Get the source block for this input. * * @returns The block this input is part of.

()

Source from the content-addressed store, hash-verified

63 * @returns The block this input is part of.
64 */
65 getSourceBlock(): Block {
66 return this.sourceBlock;
67 }
68
69 /**
70 * Add a field (or label from string), and all prefix and suffix fields, to

Callers 15

getRowIdMethod · 0.95
getIndexMethod · 0.95
computeFieldRowLabelFunction · 0.45
getParentInputLabelFunction · 0.45
isEndOfRowFunction · 0.45
computeMoveLabelFunction · 0.45
getConnectionPrepositionFunction · 0.45
initModelMethod · 0.45
shouldAddBorderRect_Method · 0.45
fromXmlMethod · 0.45
loadStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected