(static compiler) Add method documentation

The static compiler doesn't have much documentation around the various
methods and the method signatures. This commit adds basic documentation
for method signatures and the purpose of methods.
Merge pull request #1652 from adrienthebo/maint-static_compiler_yardoc

(static compiler) Add method documentation