void CollectSideEffectExpressions(AstExpression::Ptr node, AstExpression::List& exprs)
		{
			AstExpression_CollectSideEffectExpressions visitor(exprs);
			node->Accept(&visitor);
		}
Exemple #2
0
void PrintExpression(AstExpression::Ptr expression, AstDeclaration* scope, CSharpNameResolver& resolver, ostream& o, string prefix)
{
	CSharpExpressionCodegen codegen(resolver, o, prefix, scope);
	expression->Accept(&codegen);
}