Inheritance: ICSharpCode.NRefactory.Ast.Statement
		public sealed override object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			this.BeginVisit(uncheckedStatement);
			object result = this.TrackedVisitUncheckedStatement(uncheckedStatement, data);
			this.EndVisit(uncheckedStatement);
			return result;
		}
 public override object TrackedVisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
 {
     return null;
 }
Exemplo n.º 3
0
		public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			throw new global::System.NotImplementedException("UncheckedStatement");
		}
		public virtual object TrackedVisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			return base.VisitUncheckedStatement(uncheckedStatement, data);
		}
		public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
			Debug.Assert((uncheckedStatement != null));
			Debug.Assert((uncheckedStatement.Block != null));
			nodeStack.Push(uncheckedStatement.Block);
			uncheckedStatement.Block.AcceptVisitor(this, data);
			uncheckedStatement.Block = ((Statement)(nodeStack.Pop()));
			return null;
		}
Exemplo n.º 6
0
 public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data) {
     throw CreateException(uncheckedStatement);
 }
 public object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
 {
     throw new NotImplementedException ();
 }
Exemplo n.º 8
0
 public virtual object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
 {
     Debug.Assert((uncheckedStatement != null));
     Debug.Assert((uncheckedStatement.Block != null));
     return uncheckedStatement.Block.AcceptVisitor(this, data);
 }
 public virtual bool VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object d)
 {
     if ((uncheckedStatement == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if ((uncheckedStatement.Block == null)) {
         return SetFailure();
     }
     if(uncheckedStatement.GetType() != d.GetType()) {return SetFailure();}
     var data = (UncheckedStatement)d;
     if (!IsMatch(uncheckedStatement, data)) {
         return SetFailure();
     }
     return uncheckedStatement.Block.AcceptVisitor(this, data.Block);
 }
Exemplo n.º 10
0
		public override object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
		{
			return base.VisitUncheckedStatement(uncheckedStatement, data);
		}
 private bool IsMatch(UncheckedStatement left, UncheckedStatement data)
 {
     return false;
 }
Exemplo n.º 12
0
 public override object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
 {
     uncheckedStatement.Block.Parent = uncheckedStatement;
     return base.VisitUncheckedStatement(uncheckedStatement, data);
 }
		public object VisitUncheckedStatement(UncheckedStatement uncheckedStatement, object data)
		{
			return CreateMacro(uncheckedStatement, "unchecked", uncheckedStatement.Block);
		}