vein icon indicating copy to clipboard operation
vein copied to clipboard

File-scope class member syntax

Open 0xF6 opened this issue 4 years ago • 0 comments

  • [x] Proposed
  • [x] Triage: Completed
  • [ ] Prototype: not started
  • [ ] Implementation: not started
  • [ ] Specification: not started

Define file-scope class member

#space "space"
#use "vein/lang"
#mod public
// file foobar.vein
public Method(): void 
{}

Ishtar view (transformation result)

#space "space"
#use "vein/lang"
public class foobar
{
   public Method(): void 
   {}
}

0xF6 avatar Oct 08 '21 23:10 0xF6