Analyzer and tree walker for commonjs