Package kawa.standard

Class define_autoload

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

    public class define_autoload
    extends Syntax
    • Field Detail

      • define_autoloads_from_file

        public static final define_autoload define_autoloads_from_file
    • Constructor Detail

      • define_autoload

        public define_autoload​(java.lang.String name,
                               boolean fromFile)
    • Method Detail

      • 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
      • scanFile

        public boolean scanFile​(java.lang.String filespec,
                                ScopeExp defs,
                                Translator tr)
      • process

        public static boolean process​(java.lang.Object names,
                                      java.lang.Object filename,
                                      ScopeExp defs,
                                      Translator tr)