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

            if (handler != null)
            {
                handler(switchSection, data);
            }
            return(VisitChildren(switchSection, data));
        }
Exemplo n.º 2
0
 public virtual S VisitSwitchSection(SwitchSection switchSection, T data)
 {
     return(VisitChildren(switchSection, data));
 }
Exemplo 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));
        }