(LoadContext context, final String token)
| 30 | private static final Class<pcgen.core.Skill> SKILL_CLASS = pcgen.core.Skill.class; |
| 31 | |
| 32 | @Override |
| 33 | protected boolean parseToken(LoadContext context, final String token) |
| 34 | { |
| 35 | if (token.startsWith(Constants.LST_TYPE_EQUAL)) |
| 36 | { |
| 37 | addBonusInfo(token.replace('=', '.')); |
| 38 | } |
| 39 | else |
| 40 | { |
| 41 | addBonusInfo(token); |
| 42 | } |
| 43 | |
| 44 | if (!token.equals("LIST") && !token.equals("%LIST") && !token.equals("%CHOICE") && !token.equals("%VAR")) |
| 45 | { |
| 46 | //This is done entirely for the side effects |
| 47 | context.forgetMeNot(TokenUtilities.getReference(context, SKILL_CLASS, token)); |
| 48 | } |
| 49 | |
| 50 | return true; |
| 51 | } |
| 52 | |
| 53 | @Override |
| 54 | protected String unparseToken(final Object obj) |
nothing calls this directly
no test coverage detected