public override object Visit(BlockStatement blockStatement, object data) { ProcessSpecials(blockStatement.Specials); blockStatement.AcceptChildren(this, data); return null; }
public override object Visit(BlockStatement blockStatement, object data) { DebugOutput(blockStatement); blockStatement.AcceptChildren(this, data); return null; }
public virtual object Visit(BlockStatement blockStatement, object data) { if (blockStatement == null) { return null; } blockStack.Push(blockStatement); object ret = blockStatement.AcceptChildren(this, data); blockStack.Pop(); return ret; }
public override object Visit(BlockStatement blockStatement, object data) { Console.WriteLine(blockStatement.ToString()); return blockStatement.AcceptChildren(this, data); }
public override object Visit(BlockStatement blockStatement, object data) { outputFormatter.Space(); outputFormatter.PrintToken(Tokens.OpenCurlyBrace); outputFormatter.NewLine(); ++outputFormatter.IndentationLevel; blockStatement.AcceptChildren(this, true); --outputFormatter.IndentationLevel; outputFormatter.Indent(); outputFormatter.PrintToken(Tokens.CloseCurlyBrace); outputFormatter.NewLine(); return null; }