new LocalStaticScope(null),
new InstVarNode(pos, "@" + name)));
}
public static void defineAttrWriter(Graph graph, String name) {
ISourcePosition pos = new SimpleSourcePosition("(generated)", 0);
graph.createVertex(new DefnNode(pos,
new ArgumentNode(pos, name + "="),
new ArgsPreOneArgNode(pos, new ListNode(null, new ArgumentNode(null, name))),
new LocalStaticScope(null),
new InstAsgnNode(pos, "@" + name, new LocalVarNode(null, 0, name))));