(LoadContext context, VarHolder obj, String value)
| 57 | } |
| 58 | |
| 59 | @Override |
| 60 | public ParseResult parseNonEmptyToken(LoadContext context, VarHolder obj, String value) |
| 61 | { |
| 62 | try |
| 63 | { |
| 64 | PCGenScope scope = context.getActiveScope(); |
| 65 | VarModifier<?> varModifier = parseModifyInfo(context, value, scope, |
| 66 | generateFormulaManager(context, scope), getTokenName(), 0); |
| 67 | obj.addModifier(varModifier); |
| 68 | } |
| 69 | catch (ModifyException e) |
| 70 | { |
| 71 | return new ParseResult.Fail(e.getMessage()); |
| 72 | } |
| 73 | return ParseResult.SUCCESS; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Parses the 3 arguments plus associations that are part of a token doing a |
nothing calls this directly
no test coverage detected