private void GenerateStatementBlock(Block statement, TextWriter writer, CodeGeneratorOptions options) { if (statement == null) return; writer.WriteLine("BEGIN"); using (new IndentHelper(writer)) { foreach (var child in statement.Statements) { GenerateCodeFromStatement(child, writer, options); } } writer.WriteLine("END"); }
public void BlockConstructorTest1() { Statement statement = null; // TODO: Initialize to an appropriate value Block target = new Block(statement); Assert.Inconclusive("TODO: Implement code to verify target"); }