Inheritance: ICSharpCode.NRefactory.Ast.Statement
 public override object TrackedVisitResumeStatement(ResumeStatement resumeStatement, object data)
 {
     Console.WriteLine("VisitResumeStatement");
     return null;
 }
Beispiel #2
0
	void ResumeStatement(
//#line  3511 "VBNET.ATG" 
out ResumeStatement resumeStatement) {

//#line  3513 "VBNET.ATG" 
		resumeStatement = null;
		string label = String.Empty;
		
		if (
//#line  3516 "VBNET.ATG" 
IsResumeNext()) {
			Expect(194);
			Expect(163);

//#line  3517 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(true); 
		} else if (la.kind == 194) {
			lexer.NextToken();
			if (StartOf(50)) {
				LabelName(
//#line  3518 "VBNET.ATG" 
out label);
			}

//#line  3518 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(label); 
		} else SynErr(320);
	}
		public virtual object TrackedVisitResumeStatement(ResumeStatement resumeStatement, object data) {
			return base.VisitResumeStatement(resumeStatement, data);
		}
		public sealed override object VisitResumeStatement(ResumeStatement resumeStatement, object data) {
			this.BeginVisit(resumeStatement);
			object result = this.TrackedVisitResumeStatement(resumeStatement, data);
			this.EndVisit(resumeStatement);
			return result;
		}
Beispiel #5
0
	void ResumeStatement(
#line  3167 "VBNET.ATG" 
out ResumeStatement resumeStatement) {

#line  3169 "VBNET.ATG" 
		resumeStatement = null;
		string label = String.Empty;
		
		if (
#line  3172 "VBNET.ATG" 
IsResumeNext()) {
			Expect(179);
			Expect(149);

#line  3173 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(true); 
		} else if (la.kind == 179) {
			lexer.NextToken();
			if (StartOf(42)) {
				LabelName(
#line  3174 "VBNET.ATG" 
out label);
			}

#line  3174 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(label); 
		} else SynErr(284);
	}
		public virtual object VisitResumeStatement(ResumeStatement resumeStatement, object data) {
			throw new global::System.NotImplementedException("ResumeStatement");
		}
Beispiel #7
0
	void ResumeStatement(
#line  3519 "VBNET.ATG" 
out ResumeStatement resumeStatement) {

#line  3521 "VBNET.ATG" 
		resumeStatement = null;
		string label = String.Empty;
		
		if (
#line  3524 "VBNET.ATG" 
IsResumeNext()) {
			Expect(197);
			Expect(166);

#line  3525 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(true); 
		} else if (la.kind == 197) {
			lexer.NextToken();
			if (StartOf(51)) {
				LabelName(
#line  3526 "VBNET.ATG" 
out label);
			}

#line  3526 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(label); 
		} else SynErr(324);
	}
Beispiel #8
0
	void ResumeStatement(
#line  2682 "VBNET.ATG" 
out ResumeStatement resumeStatement) {

#line  2684 "VBNET.ATG" 
		resumeStatement = null;
		string label = String.Empty;
		
		if (
#line  2687 "VBNET.ATG" 
IsResumeNext()) {
			Expect(153);
			Expect(128);

#line  2688 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(true); 
		} else if (la.kind == 153) {
			lexer.NextToken();
			if (StartOf(38)) {
				LabelName(
#line  2689 "VBNET.ATG" 
out label);
			}

#line  2689 "VBNET.ATG" 
			resumeStatement = new ResumeStatement(label); 
		} else SynErr(266);
	}
		public virtual object VisitResumeStatement(ResumeStatement resumeStatement, object data) {
			Debug.Assert((resumeStatement != null));
			return null;
		}
Beispiel #10
0
 public virtual object VisitResumeStatement(ResumeStatement resumeStatement, object data) {
     throw CreateException(resumeStatement);
 }
 public object VisitResumeStatement(ResumeStatement resumeStatement, object data)
 {
     throw new NotImplementedException ();
 }
 public virtual bool VisitResumeStatement(ResumeStatement resumeStatement, object d)
 {
     if ((resumeStatement == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if(resumeStatement.GetType() != d.GetType()) {return SetFailure();}
     var data = (ResumeStatement)d;
     if (!IsMatch(resumeStatement, data)) {
         return SetFailure();
     }
     return true;
 }
		public override object VisitResumeStatement(ResumeStatement resumeStatement, object data)
		{
			return base.VisitResumeStatement(resumeStatement, data);
		}
 private bool IsMatch(ResumeStatement left, ResumeStatement data)
 {
     return false;
 }
		public object VisitResumeStatement(ResumeStatement resumeStatement, object data)
		{
			AddError(resumeStatement, "old VB-style exception handling is not supported.");
			return null;
		}