matchPatternMethod, typePattern
Constructor and Description |
---|
VarListPat(int min) |
public boolean match(java.lang.Object obj, java.lang.Object[] vars, int start_vars)
match
in class Pattern
obj
- the object to match againstvars
- the "pattern variable" values extracted from obj go herestart_vars
- where in vars to strt putting the varCount() valuespublic void print(Consumer out)