* @throws StrandedSymbol
* @throws InvalidStartRule
*/
private DefaultTranslationMapper createMapper() throws StateConflict, InvalidStartRule, StrandedSymbol {
DefaultTranslationMapper mapper = new DefaultTranslationMapper() ;
mapper.addTranslation(new Rule("E'","E"),new TopTrans()) ;
mapper.addTranslation(new Rule("E","E","+","E"),new PlusTrans()) ;
mapper.addTranslation(new Rule("E","T"),new TermTrans()) ;
mapper.addTranslation(new Rule("T","id"),new IdTrans()) ;
mapper.addTranslation(new Rule("T","(","E",")"),new ParenTrans()) ;
ImmutableMap<String,AssocType> assoc = new Tree23Map<String,AssocType>() ;
assoc = assoc.insert("+", AssocType.right) ;
assoc = assoc.insert("*", AssocType.right) ;
return mapper;
}