Expands the given selection in the source to the range of the closest appropriate enclosing AST element.
Expands the given selection in the source to the range of the closest appropriate enclosing AST element. Returns None if the source does not parse correctly, or if there is no strictly larger containing AST element.