void ExpandBlock(AstStatement::Ptr node, AstStatement::List& stats, bool lastStatement)
		{
			AstStatement_ExpandBlock visitor(stats, lastStatement);
			node->Accept(&visitor);
		}
Beispiel #2
0
void PrintStatement(AstStatement::Ptr statement, AstDeclaration* scope, CSharpNameResolver& resolver, ostream& o, string prefix, bool block)
{
	CSharpStatementCodegen codegen(resolver, o, prefix, block, scope);
	statement->Accept(&codegen);
}