[Refactoring] Split into several functions the compilation.
[AST] Wrap expressions inside Spanned.