kawa.lang

Class SyntaxRule

Implemented Interfaces:
Externalizable

public class SyntaxRule
extends SyntaxTemplate
implements Externalizable

A rule in an R5RS syntax-template. A combination of a SyntaxPattern and a SyntaxTemplate.

Constructor Summary

SyntaxRule()
SyntaxRule(SyntaxPattern pattern, Object template, SyntaxForm template_syntax, Translator tr)
SyntaxRule(SyntaxPattern pattern, String pattern_nesting, String template_program, Object[] literal_values, int max_nesting)

Method Summary

void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)

Methods inherited from class kawa.lang.SyntaxTemplate

convert_template, execute, execute, readExternal, writeExternal

Constructor Details

SyntaxRule

public SyntaxRule()

SyntaxRule

public SyntaxRule(SyntaxPattern pattern,
                  Object template,
                  SyntaxForm template_syntax,
                  Translator tr)

SyntaxRule

public SyntaxRule(SyntaxPattern pattern,
                  String pattern_nesting,
                  String template_program,
                  Object[] literal_values,
                  int max_nesting)

Method Details

readExternal

public void readExternal(ObjectInput in)
            throws IOException,
                   ClassNotFoundException
Overrides:
readExternal in interface SyntaxTemplate

writeExternal

public void writeExternal(ObjectOutput out)
            throws IOException
Overrides:
writeExternal in interface SyntaxTemplate