Exemplo n.º 1
0
 virtual public void delegate_declaration(delegate_declaration ast, int indent)
 {
     EmitattributeSectionList(ast.attrs, indent);
     EmitModifiers(ast.mods, indent, " ");
     Write("delegate ");
     visit(ast.ty);
     Write(" {0}", ast.id.str);
     EmitParameters(ast.f.fixeds, ast.f.param);
     WriteLine(";");
 }
Exemplo n.º 2
0
 void delegate_declaration(delegate_declaration ast, ArrayList list)
 {
     list.Add(new Pair(ast.id.str, ast));
 }