List<ICompilerProblem> errors, IASEmitter emitter)
{
ASBlockWalker walker = new ASBlockWalker(errors, project, emitter);
BeforeAfterStrategy strategy = new BeforeAfterStrategy(
new ASNodeSwitch(walker), new ASBeforeNodeStrategy(emitter),
new ASAfterNodeStrategy(emitter));
walker.setStrategy(strategy);
return walker;