ConnectionChecker class
Class for connection type checking logic.
Signature:
export declare class ConnectionChecker implements IConnectionChecker
Implements: IConnectionChecker
Methods
Method | Modifiers | Description |
|---|---|---|
Check whether the current connection can connect with the target connection. | ||
| Helper function for drag checking. | |
Checks whether the current connection can connect with the target connection, and return an error code if there are problems. | ||
Check whether this connection can be made by dragging. | ||
Check that connecting the given connections is safe, meaning that it would not break any of Blockly's basic assumptions (e.g. no self connections). | ||
Check whether this connection is compatible with another connection with respect to the value type system. E.g. square_root("Hello") is not compatible. | ||
Helper method that translates a connection error code into a string. |