public static ExpressionNode Parse(PMAllocator engine, PMAllocationStep step, string formula) { if (formula.StartsWith("=")) { formula = formula.Substring(1); } var expr = new PMExpressionParser(engine, step, formula); return expr.Parse(); }
public static ExpressionNode Parse(IRateTable engine, string formula) { if (formula.StartsWith("=")) { formula = formula.Substring(1); } var expr = new PMExpressionParser(engine, formula); return(expr.Parse()); }
public static ExpressionNode Parse(PMAllocator engine, PMAllocationStep step, string formula) { if (formula.StartsWith("=")) { formula = formula.Substring(1); } var expr = new PMExpressionParser(engine, step, formula); return(expr.Parse()); }