gnu.commonlisp.lang
Class prog1

java.lang.Object
  extended by kawa.lang.Syntax
      extended by gnu.commonlisp.lang.prog1
All Implemented Interfaces:
Named, Printable

public class prog1
extends Syntax


Field Summary
static prog1 prog1
           
static prog1 prog2
           
 
Constructor Summary
prog1(java.lang.String name, int index)
           
 
Method Summary
 Expression rewrite(java.lang.Object obj, Translator tr)
          Re-write an expression that is an "application" of this Syntax object.
 
Methods inherited from class kawa.lang.Syntax
getName, getSymbol, print, rewriteForm, rewriteForm, scanForDefinitions, scanForm, setName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prog1

public static final prog1 prog1

prog2

public static final prog1 prog2
Constructor Detail

prog1

public prog1(java.lang.String name,
             int index)
Method Detail

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