Example #1
0
 public static void Rule(Factor result, ParenthesisOpen parenthesisOpen, Expression expression, ParenthesisClose parenthesisClose)
 {
     result.Value = expression.Value;
 }
Example #2
0
 //public static void Rule(Factor result, UnaryOperator op, Expression expression)
 //{
 //    result.Value = op.Function(expression.Value);
 //}
 public static void Rule(Factor result, Number number)
 {
     result.Value = number.Value;
 }
Example #3
0
File: Term.cs Project: Slesa/Lingua
 public static void Rule(Term result, Factor factor)
 {
     result.Value = factor.Value;
 }
Example #4
0
File: Term.cs Project: Slesa/Lingua
 public static void Rule(Term result, Term term, TermOperator op, Factor factor)
 {
     result.Value = op.Function(term.Value, factor.Value);
 }
Example #5
0
 public static void Rule(Factor result, ParenthesisOpen parenthesisOpen, Expression expression, ParenthesisClose parenthesisClose)
 {
     result.Value = expression.Value;
 }
Example #6
0
        //public static void Rule(Factor result, UnaryOperator op, Expression expression)
        //{
        //    result.Value = op.Function(expression.Value);
        //}

        public static void Rule(Factor result, Number number)
        {
            result.Value = number.Value;
        }