gnu.kawa.functions
Class GetModuleClass
- Inlineable, Named
public class GetModuleClass
Special procedure to get the Class of the current module.
Since "current module" is defined by lexical scope,
this isn't a first-class procedure - it has to be inlined.
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getSetter , getSourceLocation , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , numArgs , set0 , set1 , setN , setSetter , setSourceLocation , toString |
getModuleClassURI
public static Expression getModuleClassURI(Compilation comp)
Return an expression that evaluates to a module-relative URI.
This has the Kawa-specific URI scheme "class-resource:" and an
assocatied ClassLoader (using a WekaHashMap). It used to reference
resources located using the compiled class's ClassLoader.