kawa.lang
public class Quote extends Syntax
Field Summary | |
---|---|
protected boolean | isQuasi True for quasiquote; false for plain quote. |
static Quote | plainQuote |
static Quote | quasiQuote |
protected static int | QUOTE_DEPTH An initial value for 'depth' for plain (non-quasi) quote. |
Constructor Summary | |
---|---|
Quote(String name, boolean isQuasi) |
Method Summary | |
---|---|
static Object | append$V(Object[] args) Same as regular append, but handle SyntaxForm wrappers. |
protected Expression | coerceExpression(Object val, Translator tr) |
static Object | consX$V(Object[] args) A wrapper around LList.consX to make it a "variable-arg method". |
protected Object | expand(Object template, int depth, Translator tr) |
protected boolean | expandColonForms() |
protected Expression | leaf(Object val, Translator tr) |
static Object | quote(Object obj, Translator tr) Quote an object (without namespace-expansion).
|
static Object | quote(Object obj) Quote an object (without namespace-expansion).
|
Expression | rewrite(Object obj, Translator tr) |