Package kawa.standard
Class syntax
- java.lang.Object
-
- kawa.lang.Syntax
-
- kawa.lang.Quote
-
- kawa.standard.syntax
-
-
Field Summary
Fields Modifier and Type Field Description static syntaxquasiSyntaxstatic syntaxsyntax-
Fields inherited from class kawa.lang.Quote
isQuasi, plainQuote, quasiQuote, QUOTE_DEPTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanexpandColonForms()protected Expressionleaf(Object val, Translator tr)protected booleanmatchesQuasiQuote(Object form, SyntaxForm syntax, Translator tr)protected booleanmatchesUnquote(Pair pair, SyntaxForm syntax, Translator tr)protected booleanmatchesUnquoteSplicing(Pair pair, SyntaxForm syntax, Translator tr)ExpressionrewriteForm(Pair form, Translator tr)-
Methods inherited from class kawa.lang.Quote
append$V, coerceExpression, consX$V, expand, makeSymbol, quote, quote, rewrite
-
-
-
-
Constructor Detail
-
syntax
public syntax(String name, boolean isQuasi)
-
-
Method Detail
-
matchesUnquote
protected boolean matchesUnquote(Pair pair, SyntaxForm syntax, Translator tr)
- Overrides:
matchesUnquotein classQuote
-
matchesUnquoteSplicing
protected boolean matchesUnquoteSplicing(Pair pair, SyntaxForm syntax, Translator tr)
- Overrides:
matchesUnquoteSplicingin classQuote
-
matchesQuasiQuote
protected boolean matchesQuasiQuote(Object form, SyntaxForm syntax, Translator tr)
- Overrides:
matchesQuasiQuotein classQuote
-
expandColonForms
protected boolean expandColonForms()
- Overrides:
expandColonFormsin classQuote
-
rewriteForm
public Expression rewriteForm(Pair form, Translator tr)
- Overrides:
rewriteFormin classSyntax
-
leaf
protected Expression leaf(Object val, Translator tr)
-
-