Package kawa.standard

Class begin

java.lang.Object
kawa.lang.Syntax
kawa.standard.begin
All Implemented Interfaces:
gnu.kawa.format.Printable, Named

public class begin extends Syntax
Implement the re-writer for the "begin" primitive.
  • Field Details

    • begin

      public static final begin begin
  • Constructor Details

    • begin

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

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