private void VisitArrayInitializer(array_initializer en) { foreach (expression_node expr in en.element_values) { VisitExpression(expr); } }
public virtual void array_initializer(array_initializer ast, int lvalue, int rvalue) { foreach (variable_initializer x in ast.a) { variable_initializer(x, lvalue, rvalue); } }
virtual public void array_initializer(array_initializer ast, int indent) { Write("{{ "); // foreach (variable_initializer v in ast.a) { // visit(v); // Write(", "); // } Write("}}"); }
virtual public void array_initializer(array_initializer ast, int indent) { Write("{{ "); for (int i = 0; i < ast.a.Count; i++) { if (i > 0) { Write(", "); } visit(ast.a[i]); } Write(" }}"); }