public class SyntaxRules extends Procedure1 implements gnu.kawa.format.Printable, java.io.Externalizable
applyToObject
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
Constructor and Description |
---|
SyntaxRules() |
SyntaxRules(java.lang.Object[] literal_identifiers,
SyntaxRule[] rules,
int maxVars,
java.lang.Object name)
The compiler generates calls to this constructor.
|
SyntaxRules(java.lang.Object ellipsis,
java.lang.Object[] literal_identifiers,
java.lang.Object srules,
Translator tr) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply1(java.lang.Object arg) |
java.lang.Object |
expand(java.lang.Object obj,
Translator tr) |
void |
print(Consumer out) |
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public SyntaxRules()
public SyntaxRules(java.lang.Object[] literal_identifiers, SyntaxRule[] rules, int maxVars, java.lang.Object name)
public SyntaxRules(java.lang.Object ellipsis, java.lang.Object[] literal_identifiers, java.lang.Object srules, Translator tr)
public java.lang.Object apply1(java.lang.Object arg)
apply1
in class Procedure1
public java.lang.Object expand(java.lang.Object obj, Translator tr)
public void print(Consumer out)
print
in interface gnu.kawa.format.Printable
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException