pattern = new ProductionPattern(ArithmeticConstants.EXPRESSION_REST,
"ExpressionRest");
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);