bundling and minification - dart, reflection and source maps? -


I have a proxy object that can be used to relocate noSuchMethod to relocate invocations to other objects , But the proxy object is present in a minified / obscure environment, and the objects are included in the inconclusions in a non-minified / obfuscated state, so when the name of the method to be renamed goes to the non-minimal environment So the name does not match Class I is MyFile.dart.js.map file, what is a simple algorithm to parse it and get by using the name of the source map of the original charge back the name Minified? Or is there a library better than that already in dart?

You can use the name of a symbol to get real. In the case of noSuchMethod :

  noSuchMethod (invite invocation) {string member = mirrors .getName (invocation.memberName); }    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -