kawa.lang
public class SyntaxRules extends Procedure1 implements Printable, Externalizable
| Constructor Summary | |
|---|---|
| SyntaxRules() | |
| SyntaxRules(Object[] literal_identifiers, SyntaxRule[] rules, int maxVars) The compiler generates calls to this constructor. | |
| SyntaxRules(Object[] literal_identifiers, Object srules, Translator tr) | |
| Method Summary | |
|---|---|
| Object | apply1(Object arg) |
| Object | expand(Object obj, Translator tr) |
| void | print(Consumer out) |
| void | readExternal(ObjectInput in) |
| void | writeExternal(ObjectOutput out) |
Serial Data: Write literal_identifiers followed by rules, using writeObject.