Skip to content
Snippets Groups Projects
  1. Sep 29, 2010
  2. Sep 28, 2010
  3. Sep 27, 2010
  4. Sep 24, 2010
  5. Sep 23, 2010
  6. Sep 22, 2010
  7. Sep 21, 2010
  8. Sep 20, 2010
  9. Sep 17, 2010
  10. Sep 16, 2010
    • Kai Koehne's avatar
    • Christian Kamm's avatar
      QmlJS: Speed up Link significantly, provide more info on imports. · c7b3e3c8
      Christian Kamm authored
      Link now caches imports. That means importing the same library (say, Qt)
      from more than one file no longer creates an importing namespace for
      each one. Instead, a single one is created for the instance of Link.
      
      To make this work, the type environment in ScopeChain has been given its
      own type: Interpreter::TypeEnvironment. That has the added benefit of
      being able to carry meta-information about imports. You can use
      TypeEnvironment::importInfo(qmlComponentName) to get information about
      the import node that caused the import of the component.
      c7b3e3c8
Loading