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 PMExpressionContext(PMAllocator engine, PMAllocationStep step) { this.engine = engine; this.step = step; }
private PMExpressionParser(PMAllocator engine, PMAllocationStep step, string text) : base(text) { Engine = engine; Step = step; }