kawa.standard
Class location
java.lang.Object
|
+--gnu.expr.Declaration
|
+--kawa.lang.Syntax
|
+--kawa.standard.location
- public class location
- extends Syntax
- implements Printable
The Syntax transformer that re-writes the Kawa "location" primitive.
| Methods inherited from class gnu.expr.Declaration |
allocateVariable,
assignField,
compileStore,
getCanCall,
getCanRead,
getCanWrite,
getColumn,
getContext,
getFile,
getLine,
getName,
getType,
getValue,
getVariable,
ignorable,
initBinding,
isFluid,
isIndirectBinding,
isLexical,
isPrivate,
isProcedureDecl,
isPublic,
isSimple,
isStatic,
load,
loadOwningObject,
nextDecl,
noteValue,
pushIndirectBinding,
setCanCall,
setCanRead,
setCanWrite,
setFile,
setFlag,
setFluid,
setIndirectBinding,
setLine,
setLine,
setName,
setPrivate,
setProcedureDecl,
setSimple,
setType,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
location
public location()
rewriteArg
public static Expression rewriteArg(java.lang.Object obj,
Translator tr)
- Assuming obj is in an lvalue context, re-write it.
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
- Tags copied from 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 ProcLocation makeProcLocation$V(Procedure proc,
java.lang.Object[] args)