sergiotaborda / lense-lang

The Lense Language Compiler
1 stars 0 forks source link

Add support for Properties #18

Closed sergiotaborda closed 8 years ago

sergiotaborda commented 8 years ago

Add support for properties

class Customer {

 public name : String {get; set;} 
 public birthday :Date  {get; set;} 

}

sergiotaborda commented 8 years ago

Properties are distinguished from Fields because have a { } ate the end, and from methods because do not have parameters within ( )

sergiotaborda commented 8 years ago

Properties are already supported. The set block must define a entry variable to hold the passed in value.