Esempio n. 1
0
 public virtual void indexer_declaration(indexer_declaration ast)
 {
     foreach (accessor_declaration d in ast.accessors)
     {
         accessor_declaration(d);
     }
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 void indexer_declaration(indexer_declaration ast, ArrayList list)
 {
     list.Add(new Pair("this", ast));
 }