Exemplo n.º 1
0
		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");
		}
Exemplo n.º 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
			};

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