Advertisement
Benlahbib_Abdessamad

Untitled

Jan 1st, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. helper context Y!Class def : genererName() : String =
  2. '\n\nclass ' +self.name
  3. + if self.superClass->size()>0 then
  4. ' extends '+
  5. self.superClass->iterate(elem;acc:String= '' | acc +elem.name)
  6. else ''
  7. endif
  8. +'\n{\n'
  9. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement