kawa.standard
Class begin

java.lang.Object
  extended by kawa.lang.Syntax
      extended by kawa.standard.begin
All Implemented Interfaces:
Named, Printable

public class begin
extends Syntax

Implement the re-writer for the "begin" primitive.


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

Field Detail

begin

public static final begin begin
Constructor Detail

begin

public begin()
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

scanForm

public void scanForm(Pair st,
                     ScopeExp defs,
                     Translator tr)
Overrides:
scanForm in class Syntax