Package kawa.standard

Class location

java.lang.Object
kawa.lang.Syntax
kawa.standard.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 Details

    • location

      public static final location location
  • Constructor Details

    • location

      public location()
  • Method Details

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

      public static Expression rewrite(Expression arg, Translator tr)
    • getMakeProcLocProc

      public static PrimProcedure getMakeProcLocProc()
    • makeProcLocation$V

      public static Location makeProcLocation$V(Procedure proc, Object[] args)
    • makeLocationProc

      public static LocationProc makeLocationProc(Location loc)