kawa.standard

Class define

public class define extends Syntax

The Syntax transformer that re-writes the "%define" internal form. This is used to implement define, define-private, and define-constant. Syntax: (%define name code type value). The name is an identifier (String or Symbol) or Declaration. The code is an integer mask, where 1 means type specified, 2 means a function definition, 4 means private, and 8 means constant. The type is the declarated type or null. The value is the initializing value. *
Field Summary
static definedefineRaw
Constructor Summary
define(Lambda lambda)
Method Summary
ExpressionrewriteForm(Pair form, Translator tr)
voidscanForm(Pair st, ScopeExp defs, Translator tr)

Field Detail

defineRaw

public static final define defineRaw

Constructor Detail

define

public define(Lambda lambda)

Method Detail

rewriteForm

public Expression rewriteForm(Pair form, Translator tr)

scanForm

public void scanForm(Pair st, ScopeExp defs, Translator tr)