예제 #1
0
        public static IReadOnlyList <Int32> GrabLabels(SwitchStmt stmt)
        {
            CaseLabelsGrabber grabber = new CaseLabelsGrabber();

            stmt.Stmt.Accept(grabber);
            return(grabber.Labels);
        }
예제 #2
0
 public override void Visit(SwitchStmt stmt) {
     // Must ignore this.
 }
예제 #3
0
 public static IReadOnlyList<Int32> GrabLabels(SwitchStmt stmt) {
     CaseLabelsGrabber grabber = new CaseLabelsGrabber();
     stmt.Stmt.Accept(grabber);
     return grabber.Labels;
 }
예제 #4
0
 public virtual void Visit(SwitchStmt stmt) {}
예제 #5
0
 public override void Visit(SwitchStmt stmt) {
     stmt.Stmt.Accept(this);
 }
예제 #6
0
 public virtual void Visit(SwitchStmt stmt)
 {
 }
예제 #7
0
 public override void Visit(SwitchStmt stmt)
 {
     stmt.Stmt.Accept(this);
 }
예제 #8
0
 public override void Visit(SwitchStmt stmt)
 {
     // Must ignore this.
 }