blockly > BasicCursor > out

BasicCursor.out() method

For a basic cursor we only have the ability to go next and previous, so out will allow the user to get to the previous node in the pre order traversal.

Signature:

out(): ASTNode | null;

Returns:

ASTNode | null

The previous node, or null if the current node is not set or there is no previous value.