Mono.CSharp.CSharpCodeGenerator.GenerateIterationStatement C# (CSharp) 메소드

GenerateIterationStatement() 보호된 메소드

protected GenerateIterationStatement ( CodeIterationStatement statement ) : void
statement CodeIterationStatement
리턴 void
		protected override void GenerateIterationStatement (CodeIterationStatement statement)
		{
			TextWriter output = Output;

			dont_write_semicolon = true;
			output.Write ("for (");
			GenerateStatement (statement.InitStatement);
			output.Write ("; ");
			GenerateExpression (statement.TestExpression);
			output.Write ("; ");
			GenerateStatement (statement.IncrementStatement);
			output.Write (")");
			dont_write_semicolon = false;
			OutputStartBrace ();
			++Indent;
			GenerateStatements (statement.Statements);
			--Indent;
			output.WriteLine ('}');
		}
CSharpCodeGenerator