public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data) {
			Debug.Assert((gotoStatement != null));
			return null;
		}
		public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data) {
			throw new global::System.NotImplementedException("GotoStatement");
		}
Exemple #3
0
	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
			};

	}
		public virtual object TrackedVisitGotoStatement(GotoStatement gotoStatement, object data) {
			return base.VisitGotoStatement(gotoStatement, data);
		}
		public sealed override object VisitGotoStatement(GotoStatement gotoStatement, object data) {
			this.BeginVisit(gotoStatement);
			object result = this.TrackedVisitGotoStatement(gotoStatement, data);
			this.EndVisit(gotoStatement);
			return result;
		}
		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;
		}