kawa.lang
Class SyntaxRules
java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure1
kawa.lang.SyntaxRules
- All Implemented Interfaces:
- Named, Printable, java.io.Externalizable, java.io.Serializable
public class SyntaxRules
- extends Procedure1
- implements Printable, java.io.Externalizable
- See Also:
- Serialized Form
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SyntaxRules
public SyntaxRules()
SyntaxRules
public SyntaxRules(java.lang.Object[] literal_identifiers,
SyntaxRule[] rules,
int maxVars)
- The compiler generates calls to this constructor.
SyntaxRules
public SyntaxRules(java.lang.Object[] literal_identifiers,
java.lang.Object srules,
Translator tr)
apply1
public java.lang.Object apply1(java.lang.Object arg)
- Specified by:
apply1
in class Procedure1
expand
public java.lang.Object expand(java.lang.Object obj,
Translator tr)
print
public void print(java.io.PrintWriter ps)
- Specified by:
print
in interface Printable
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException