Package kawa.standard

Class require

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named

    public class require
    extends Syntax
    • Field Detail

      • require

        public static final require require
    • Constructor Detail

      • require

        public require()
    • Method Detail

      • mapFeature

        public static String mapFeature​(String featureName)
      • scanForDefinitions

        public boolean scanForDefinitions​(Pair st,
                                          ScopeExp defs,
                                          Translator tr)
        Description copied from class: Syntax
        Check if a statement is a definition, for initial pass. Semi-deprecated - should convert calls to use scanForm.
        Overrides:
        scanForDefinitions in class Syntax
        Parameters:
        st - the statement to check
        defs - where to add Declarations for found definitions
        tr - the compilation state
        Returns:
        true on success
      • lookupModuleFromSourcePath

        public static ModuleInfo lookupModuleFromSourcePath​(String sourceName,
                                                            ScopeExp defs)