S IAstVisitor <T, S> .VisitSwitchSection(SwitchSection switchSection, T data)
        {
            var handler = SwitchSectionVisited;

            if (handler != null)
            {
                handler(switchSection, data);
            }
            return(VisitChildren(switchSection, data));
        }
Esempio n. 2
0
 public virtual S VisitSwitchSection(SwitchSection switchSection, T data)
 {
     return(VisitChildren(switchSection, data));
 }
Esempio n. 3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            SwitchSection o = other as SwitchSection;

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