public static class Mode.Rule extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Mode.Rule |
next |
Object |
object |
Pattern |
pattern |
int |
precedence |
double |
priority |
int |
sequence |
public Pattern pattern
public Object object
public int precedence
public double priority
public int sequence
public Mode.Rule next
public Rule(Pattern p, Object o, int prec, double prio, int seq)
p
- the pattern that this rule matcheso
- the object invoked by this rule (usually a Template)prec
- the precedence of the ruleprio
- the priority of the ruleseq
- a sequence number for ordering of rulespublic Rule(Mode.Rule r)
r
-