public override sealed object VisitLockStatement(LockStatement lockStatement, object data)
 {
     this.BeginVisit(lockStatement);
     object result = this.TrackedVisitLockStatement(lockStatement, data);
     this.EndVisit(lockStatement);
     return result;
 }
 public virtual object TrackedVisitLockStatement(LockStatement lockStatement, object data)
 {
     return base.VisitLockStatement(lockStatement, data);
 }
Exemplo n.º 3
0
 public virtual object VisitLockStatement(LockStatement lockStatement, object data)
 {
     Debug.Assert((lockStatement != null));
     Debug.Assert((lockStatement.LockExpression != null));
     Debug.Assert((lockStatement.EmbeddedStatement != null));
     lockStatement.LockExpression.AcceptVisitor(this, data);
     return lockStatement.EmbeddedStatement.AcceptVisitor(this, data);
 }
 public virtual object VisitLockStatement(LockStatement lockStatement, object data)
 {
     throw new global::System.NotImplementedException("LockStatement");
 }
Exemplo n.º 5
0
 void SyncLockStatement(out Statement statement)
 {
     Expression expr; Statement embeddedStatement;
     Expect(211);
     Expr(out expr);
     EndOfStmt();
     Block(out embeddedStatement);
     Expect(113);
     Expect(211);
     statement = new LockStatement(expr, embeddedStatement);
 }
 public virtual object VisitLockStatement(LockStatement lockStatement, object data)
 {
     Debug.Assert((lockStatement != null));
     Debug.Assert((lockStatement.LockExpression != null));
     Debug.Assert((lockStatement.EmbeddedStatement != null));
     nodeStack.Push(lockStatement.LockExpression);
     lockStatement.LockExpression.AcceptVisitor(this, data);
     lockStatement.LockExpression = ((Expression)(nodeStack.Pop()));
     nodeStack.Push(lockStatement.EmbeddedStatement);
     lockStatement.EmbeddedStatement.AcceptVisitor(this, data);
     lockStatement.EmbeddedStatement = ((Statement)(nodeStack.Pop()));
     return null;
 }