View source code
Display the source code in dmd/dmodule.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.dmodule.Package.resolve

static extern(C++) DsymbolTable resolve (
  dmd.root.array.Array!(dmd.identifier.Identifier)* packages,
  Dsymbol* pparent,
  Package* ppkg
);

Input

packages[] the pkg1.pkg2 of pkg1.pkg2.mod

Returns

the symbol table that mod should be inserted into

Output

*pparent the rightmost package, i.e. pkg2, or NULL if no packages *ppkg the leftmost package, i.e. pkg1, or NULL if no packages

Authors

Walter Bright

License

Boost License 1.0