Exemplo n.º 1
0
		void ExpandBlock(AstStatement::Ptr node, AstStatement::List& stats, bool lastStatement)
		{
			AstStatement_ExpandBlock visitor(stats, lastStatement);
			node->Accept(&visitor);
		}
Exemplo n.º 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);
}