public static void Rule(Expression result, Term term) { result.Value = term.Value; }
public static void Rule(Factor result, ParenthesisOpen parenthesisOpen, Expression expression, ParenthesisClose parenthesisClose) { result.Value = expression.Value; }
public static void Rule(Expression result, Expression expression, ExpressionOperator op, Term term) { result.Value = op.Function(expression.Value, term.Value); }
public static void Rule(Start result, Expression expression) { result.Value = expression.Value; }