ASTNode.prev() method
Find the element to the left of the current element in the AST.
Signature:
prev(): ASTNode | null;
Returns:
ASTNode | null
An AST node that wraps the previous field, connection, workspace or block. Or null if no node exists to the left. null.