/// <summary> /// Walks through the code units in the statement. /// </summary> /// <param name="statementCallback"> /// Callback executed when a statement is visited. /// </param> /// <param name="expressionCallback"> /// Callback executed when an expression is visited. /// </param> /// <param name="queryClauseCallback"> /// Callback executed when a query clause is visited. /// </param> public void WalkStatement( CodeWalkerStatementVisitor <object> statementCallback, CodeWalkerExpressionVisitor <object> expressionCallback, CodeWalkerQueryClauseVisitor <object> queryClauseCallback) { Param.Ignore(statementCallback, expressionCallback, queryClauseCallback); CodeWalker <object> .Start(this, statementCallback, expressionCallback, queryClauseCallback, null); }
/// <summary> /// Walks through the code units in the statement. /// </summary> /// <param name="statementCallback"> /// Callback executed when a statement is visited. /// </param> /// <param name="expressionCallback"> /// Callback executed when an expression is visited. /// </param> /// <param name="queryClauseCallback"> /// Callback executed when a query clause is visited. /// </param> /// <param name="context"> /// The optional visitor context data. /// </param> /// <typeparam name="T"> /// The type of the context item. /// </typeparam> public void WalkStatement <T>( CodeWalkerStatementVisitor <T> statementCallback, CodeWalkerExpressionVisitor <T> expressionCallback, CodeWalkerQueryClauseVisitor <T> queryClauseCallback, T context) { Param.Ignore(statementCallback, expressionCallback, queryClauseCallback, context); CodeWalker <T> .Start(this, statementCallback, expressionCallback, queryClauseCallback, context); }