Ejemplo n.º 1
0
		public virtual object VisitErrorStatement(ErrorStatement errorStatement, object data) {
			Debug.Assert((errorStatement != null));
			Debug.Assert((errorStatement.Expression != null));
			return errorStatement.Expression.AcceptVisitor(this, data);
		}
		public virtual object VisitErrorStatement(ErrorStatement errorStatement, object data) {
			throw new global::System.NotImplementedException("ErrorStatement");
		}
Ejemplo n.º 3
0
		public virtual object VisitErrorStatement(ErrorStatement errorStatement, object data) {
			Debug.Assert((errorStatement != null));
			Debug.Assert((errorStatement.Expression != null));
			nodeStack.Push(errorStatement.Expression);
			errorStatement.Expression.AcceptVisitor(this, data);
			errorStatement.Expression = ((Expression)(nodeStack.Pop()));
			return null;
		}
Ejemplo n.º 4
0
	void ErrorStatement(out Statement statement) {
		Expression expr = null;
		Expect(118);
		Expr(out expr);
		statement = new ErrorStatement(expr);
	}
Ejemplo n.º 5
0
		public virtual object TrackedVisitErrorStatement(ErrorStatement errorStatement, object data) {
			return base.VisitErrorStatement(errorStatement, data);
		}
Ejemplo n.º 6
0
		public sealed override object VisitErrorStatement(ErrorStatement errorStatement, object data) {
			this.BeginVisit(errorStatement);
			object result = this.TrackedVisitErrorStatement(errorStatement, data);
			this.EndVisit(errorStatement);
			return result;
		}