alt = new ProductionPatternAlternative();
alt.addToken(ArithmeticConstants.ADD, 1, 1);
alt.addProduction(ArithmeticConstants.EXPRESSION, 1, 1);
pattern.addAlternative(alt);
alt = new ProductionPatternAlternative();
alt.addToken(ArithmeticConstants.SUB, 1, 1);
alt.addProduction(ArithmeticConstants.EXPRESSION, 1, 1);
pattern.addAlternative(alt);
addPattern(pattern);
pattern = new ProductionPattern(ArithmeticConstants.TERM,