public CaseFieldNoTargetInfo Parse(SelectAtomContext ctx) { var rslt = new CaseFieldNoTargetInfo(); foreach (var expr in Case_when_expressions) { rslt.CaseWhenExprresses.Add(expr.Parse(ctx)); } rslt.CaseElseExpression = Case_else_expression.Parse(ctx); return rslt; }
public CaseFieldNoTargetInfo Parse(SelectAtomContext ctx) { var rslt = new CaseFieldNoTargetInfo(); foreach (var expr in Case_when_expressions) { rslt.CaseWhenExprresses.Add(expr.Parse(ctx)); } rslt.CaseElseExpression = Case_else_expression.Parse(ctx); return(rslt); }