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