コード例 #1
0
        public override object VisitGotoStatement(GotoStatement gotoStatement, object data)
        {
            System.CodeDom.CodeGotoStatement gotoStmt = new CodeGotoStatement(gotoStatement.Label);

            // Add Statement to Current Statement Collection
            AddStmt(gotoStmt);

            return gotoStmt;
        }
コード例 #2
0
 public override sealed object VisitGotoStatement(GotoStatement gotoStatement, object data)
 {
     this.BeginVisit(gotoStatement);
     object result = this.TrackedVisitGotoStatement(gotoStatement, data);
     this.EndVisit(gotoStatement);
     return result;
 }
コード例 #3
0
 public virtual object TrackedVisitGotoStatement(GotoStatement gotoStatement, object data)
 {
     return base.VisitGotoStatement(gotoStatement, data);
 }
コード例 #4
0
 public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data)
 {
     Debug.Assert((gotoStatement != null));
     return null;
 }
コード例 #5
0
 public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data)
 {
     throw new global::System.NotImplementedException("GotoStatement");
 }
コード例 #6
0
ファイル: Parser.cs プロジェクト: richardschneider/ILSpy
        void GotoStatement(out GotoStatement goToStatement)
        {
            string label = string.Empty;
            Location startLocation = la.Location;

            Expect(132);
            LabelName(out label);
            goToStatement = new GotoStatement(label) {
                StartLocation = startLocation,
                EndLocation = t.EndLocation
            };
        }