Package kawa.standard

Class Scan

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

    public class Scan
    extends Syntax
    Create a scan expression from a sequence expression.
    • Field Detail

      • scan

        public static final Scan scan
    • Constructor Detail

      • Scan

        public Scan()
    • Method Detail

      • rewrite

        public Expression rewrite​(Object obj,
                                  Translator tr)
        Description copied from class: Syntax
        Re-write an expression that is an "application" of this Syntax object.
        Overrides:
        rewrite in class Syntax
        Parameters:
        obj - the arguments to this "application" (i.e. the cdr of the macro/builtin invocation)
        tr - the Translator that provides context
        Returns:
        the re-written expression