public virtual void indexer_declaration(indexer_declaration ast) { foreach (accessor_declaration d in ast.accessors) { accessor_declaration(d); } }
virtual public void indexer_declaration(indexer_declaration ast, int indent) { EmitattributeSectionList(ast.attrs, indent); EmitModifiers(ast.mods, indent, " "); visit(ast.i.ty); Write(" "); if (ast.i.interfacename != null) { visit(ast.i.interfacename); Write("."); } EmitindexerParameters(ast.i.f.fixeds, ast.i.f.param); WriteLine(" {{", indent); foreach (declaration d in ast.accessors) { visit(d, indent + 1); } WriteLine("}}", indent); }
void indexer_declaration(indexer_declaration ast, ArrayList list) { list.Add(new Pair("this", ast)); }