[Compiler] Adapt SymbolTable to changed module API

Authored by akreuzkamp.

Description

[Compiler] Adapt SymbolTable to changed module API

This commit makes the SymbolTable parse module files and traverse the
AST instead of running the javascript. That is dumber, but the only
doable solution with the module API we decided on (creating properties
inside the constructor), as else we'd need to create an object in
order to learn about its properties, which would break too easily.
This stuff is now done in an own module class.

Details

Committed
akreuzkampSep 8 2015, 10:17 AM
Differential Revision
D335: [Compiler] Implement module loading.
Parents
R18:ea44cb2f988e: [Compiler] Port PrettyGeneratorPass to IR instead of AST
Branches
Unknown
Tags
Unknown