kawa.standard
Class syntax

java.lang.Object
  extended by kawa.lang.Syntax
      extended by kawa.lang.Quote
          extended by kawa.standard.syntax
All Implemented Interfaces:
Named, Printable

public class syntax
extends Quote


Field Summary
static syntax quasiSyntax
           
static syntax syntax
           
 
Fields inherited from class kawa.lang.Quote
isQuasi, plainQuote, quasiQuote, QUOTE_DEPTH
 
Constructor Summary
syntax(java.lang.String name, boolean isQuasi)
           
 
Method Summary
protected  boolean expandColonForms()
           
protected  Expression leaf(java.lang.Object val, Translator tr)
           
 Expression rewriteForm(Pair form, Translator tr)
           
 
Methods inherited from class kawa.lang.Quote
append$V, coerceExpression, consX$V, expand, quote, quote, rewrite
 
Methods inherited from class kawa.lang.Syntax
getName, getSymbol, print, rewriteForm, scanForDefinitions, scanForm, setName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

syntax

public static final syntax syntax

quasiSyntax

public static final syntax quasiSyntax
Constructor Detail

syntax

public syntax(java.lang.String name,
              boolean isQuasi)
Method Detail

expandColonForms

protected boolean expandColonForms()
Overrides:
expandColonForms in class Quote

rewriteForm

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

leaf

protected Expression leaf(java.lang.Object val,
                          Translator tr)
Overrides:
leaf in class Quote