It has `[] and `-> lfuns that looks for identifiers in the directory or in the special module.pmod file.
No, it hasn't.
String;
(1) Result: master()->joinnode(({ /* 1 element */ master()->dirnode("/home/nilsson/Pike/7.5/lib/modules/String.pmod") }))
String["capitalize"];
(2) Result: String.capitalize
String->capitalize;
(3) Result: 0
This usually bites me when I write testsuite cases (cond(foo->bar)), but I have assumed that sometimes you might want to call things in the actual dirnode so I haven't fixed this.
/ Martin Nilsson (saturator)
Previous text:
2003-09-24 16:59: Subject: Re: foo
A dirnode is the object that represents a .pmod directory. It has `[] and `-> lfuns that looks for identifiers in the directory or in the special module.pmod file.
Joinnodes are used when several module directory trees contain the same module, e.g. if the module path contains /foo and /bar and there's a /foo/Gnu.pmod and a /bar/Gnu.pmod then you'll get a joinnode for Gnu which looks up every identifier in both.
/ Martin Stjernholm, Roxen IS