Package kawa.standard

Class location

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

    public class location
    extends Syntax
    The Syntax transformer that re-writes the Kawa "location" primitive.
    • Field Detail

      • location

        public static final location location
    • Constructor Detail

      • location

        public location()
    • 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
      • getMakeProcLocProc

        public static PrimProcedure getMakeProcLocProc()