@Override public void scan(Template template) { super.scan(template); if (getParameter(2) != null) { template.preventCacheVariable(getParameter(2).toString()); } }
@Override public void process(ParameterCharacter[] parameters, Map<String, IExpression> fields) throws ParseException { super.process(parameters, fields); fields.remove("equation"); fields.remove("format"); fields.remove("assign"); Object[] words = analyseMath(getParameter(0).toString(), fields); exp = Analyzer.mergeExpression(words, 0, words.length, Operation.FLOAT); }