예제 #1
0
        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");
        }
예제 #2
0
파일: BlockTest.cs 프로젝트: jgshort/SqlDom
 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");
 }