S IAstVisitor <T, S> .VisitCaseLabel(CaseLabel caseLabel, T data)
        {
            var handler = CaseLabelVisited;

            if (handler != null)
            {
                handler(caseLabel, data);
            }
            return(VisitChildren(caseLabel, data));
        }
Beispiel #2
0
 public virtual S VisitCaseLabel(CaseLabel caseLabel, T data)
 {
     return(VisitChildren(caseLabel, data));
 }
Beispiel #3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            CaseLabel o = other as CaseLabel;

            return(o != null && this.Expression.DoMatch(o.Expression, match));
        }