Ejemplo n.º 1
0
		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();
		}
Ejemplo n.º 2
0
        public static ExpressionNode Parse(IRateTable engine, string formula)
        {
            if (formula.StartsWith("="))
            {
                formula = formula.Substring(1);
            }

            var expr = new PMExpressionParser(engine, formula);

            return(expr.Parse());
        }
Ejemplo n.º 3
0
        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());
        }