public virtual Formula Visit(EndFormula formula) { Visit((Formula)formula); return visitor.Visit(formula); }
public Formula Visit(EndFormula formula) { return formula; }
public static void EvalEnd(MethodCallExpression exp, ExpressionToFormulaState state) { var end = new EndFormula() { TypeDeclaration = state.CurrentBlock.TypeDeclaration }; state.CurrentBlock.Formulas.Push(end); state.IsEnded = true; }