A Dsymbol representing a renamed import.


Walter Bright

Source: dimport.d

  • Declaration

    class Import: dmd.dsymbol.Dsymbol;

    • Declaration

      bool load(Scope* sc);

      Load this module.

      Return Value

      true for errors, false for success

    • Declaration

      void addPackageAccess(ScopeDsymbol scopesym);

      Mark the imported packages as accessible from the current scope. This access check is necessary when using FQN b/c we're using a single global package tree.

    • Declaration

      void addMember(Scope* sc, ScopeDsymbol sd);

      Add import to sd's symbol table.