kawa.standard
Class location
java.lang.Object
kawa.lang.Syntax
kawa.standard.location
- All Implemented Interfaces:
- Named, Printable
public class location
- extends Syntax
The Syntax transformer that re-writes the Kawa "location" primitive.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
location
public static final location location
location
public location()
rewrite
public Expression rewrite(java.lang.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 invokation)tr
- the Translator that provides context
- Returns:
- the re-written expression
rewrite
public static Expression rewrite(Expression arg,
Translator tr)
makeProcLocation$V
public static Location makeProcLocation$V(Procedure proc,
java.lang.Object[] args)
makeLocationProc
public static Procedure makeLocationProc(Location loc)