Package related procs.
See Also:
- packagehandling for package path handling
- modulegraphs.getPackage
- modulegraphs.belongsToStdlib
Procs
func belongsToProjectPackage(conf: ConfigRef; sym: PSym): bool {....raises: [], tags: [].}
-
Return whether the symbol belongs to the project's package.
See Also:
- modulegraphs.belongsToStdlib
proc getPackage(conf: ConfigRef; cache: IdentCache; fileIdx: FileIndex): PSym {. ...raises: [KeyError, OSError], tags: [ReadDirEffect].}
-
Return a new package symbol.
See Also:
- modulegraphs.getPackage
func getPackageId(sym: PSym): int {....raises: [], tags: [].}
- Return the owning package ID. Source Edit
func getPackageSymbol(sym: PSym): PSym {....raises: [], tags: [].}
- Return the owning package symbol. Source Edit