kawa.standard

Class object

Implemented Interfaces:
Named, Printable

public class object
extends Syntax

Field Summary

static Keyword
accessKeyword
static Keyword
allocationKeyword
static object
objectSyntax
static Keyword
throwsKeyword

Constructor Summary

object(Lambda lambda)

Method Summary

void
rewriteClassDef(Object[] saved, Translator tr)
Expression
rewriteForm(Pair form, Translator tr)
Object[]
scanClassDef(Pair pair, ClassExp oexp, Translator tr)
Does the first "scan-time" processing of the class/object definition.

Methods inherited from class kawa.lang.Syntax

getName, getSymbol, print, rewrite, rewriteForm, rewriteForm, scanForDefinitions, scanForm, setName, setName

Field Details

accessKeyword

public static final Keyword accessKeyword

allocationKeyword

public static final Keyword allocationKeyword

objectSyntax

public static final object objectSyntax

throwsKeyword

public static final Keyword throwsKeyword

Constructor Details

object

public object(Lambda lambda)

Method Details

rewriteClassDef

public void rewriteClassDef(Object[] saved,
                            Translator tr)

rewriteForm

public Expression rewriteForm(Pair form,
                              Translator tr)
Overrides:
rewriteForm in interface Syntax

scanClassDef

public Object[] scanClassDef(Pair pair,
                             ClassExp oexp,
                             Translator tr)
Does the first "scan-time" processing of the class/object definition. Returns an array of values to be used at "rewrite-time".