Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 399 Bytes

02_general_attributes.md

File metadata and controls

20 lines (14 loc) · 399 Bytes

Classes general attributes

classes has some general properties:

  • __name__: name of the class
  • __parent__: name of parent of class
  • __props__: all of object properties as Dictonary
  • __methods__: all of object methods as Dictonary
  • __theclass__: the object class type

for example:

class Person

endclass

$person = Person()

println($person->__name__) # output: Person