The <code>send</code> function is called inside checks instead of using <code>transfer</code>.
</p>
<p>
The recommended way to perform checked ether payments is <code>addr.transfer(x)</code>, which automatically throws an exception if the transfer is unsuccessful.
[Click Here](https://astexplorer.net/#/gist/80ce10649ee0dcab204c328774e50805/89dbe3ac15d4b27e9b3728f3453702836046b6f8) to view the AST for the above code. Code generated from AST Explorer using _solidity-parser-antlr-0.4.11_