|
|||||||||
| Home >> All >> com >> memoire >> [ silk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.memoire.silk
Class SilkMacro

java.lang.Objectcom.memoire.silk.SilkSchemeUtils
com.memoire.silk.SilkProcedure
com.memoire.silk.SilkClosure
com.memoire.silk.SilkMacro
- public class SilkMacro
- extends SilkClosure
| Field Summary |
| Fields inherited from class com.memoire.silk.SilkClosure |
body, env, parms |
| Fields inherited from class com.memoire.silk.SilkProcedure |
name |
| Fields inherited from class com.memoire.silk.SilkSchemeUtils |
FALSE, ONE, TRUE, ZERO |
| Constructor Summary | |
SilkMacro(java.lang.Object parms,
java.lang.Object body,
SilkEnvironment env)
Make a macro from a parameter list, body, and environment. |
|
| Method Summary | |
SilkPair |
expand(SilkScheme interpreter,
SilkPair oldSilkPair,
java.lang.Object args)
Replace the old cons cell with the macro expansion, and return it. |
static java.lang.Object |
macroExpand(SilkScheme interpreter,
java.lang.Object x)
SilkMacro expand an expression |
| Methods inherited from class com.memoire.silk.SilkClosure |
apply |
| Methods inherited from class com.memoire.silk.SilkProcedure |
proc, toString |
| Methods inherited from class com.memoire.silk.SilkSchemeUtils |
chr, chr, cons, equal, eqv, error, first, inPort, length, list, list, listStar, listToString, listToVector, num, num, outPort, p, p, rest, reverse, second, setFirst, setRest, str, stringify, stringify, stringify, sym, third, truth, truth, vec, vectorToList, warn, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
SilkMacro
public SilkMacro(java.lang.Object parms, java.lang.Object body, SilkEnvironment env)
- Make a macro from a parameter list, body, and environment.
| Method Detail |
expand
public SilkPair expand(SilkScheme interpreter, SilkPair oldSilkPair, java.lang.Object args)
- Replace the old cons cell with the macro expansion, and return it.
macroExpand
public static java.lang.Object macroExpand(SilkScheme interpreter, java.lang.Object x)
- SilkMacro expand an expression
|
|||||||||
| Home >> All >> com >> memoire >> [ silk overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC