+
" #def m3(self):pass\n" +
" 'string'\n" +
"def mGlobal(self):pass\n");
assertEquals(2, m.body.length);
ClassDef classDefBar = (ClassDef) m.body[0];
assertEquals(1, classDefBar.beginColumn);
assertEquals(1, classDefBar.beginLine);
assertEquals("Bar", ((NameTok) classDefBar.name).id);
FunctionDef defGlobal = (FunctionDef) m.body[1];
assertEquals("mGlobal", ((NameTok) (defGlobal).name).id);
assertEquals(1, defGlobal.beginColumn);
assertEquals(7, defGlobal.beginLine);
ClassDef classDefZoo = (ClassDef) classDefBar.body[0];
assertEquals("Zoo", ((NameTok) classDefZoo.name).id);
assertEquals(5, classDefZoo.beginColumn);
assertEquals(2, classDefZoo.beginLine);
assertEquals(2, classDefZoo.body.length);