Package kawa.standard

Class define_class

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

    public class define_class
    extends Syntax
    • Field Detail

      • define_class

        public static final define_class define_class
      • define_simple_class

        public static final define_class define_simple_class
    • 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