Annotation of parser3/tests/410.html, revision 1.1

1.1     ! moko        1: @main[]
        !             2: 
        !             3: # 4objects (default behavour)
        !             4: 
        !             5: $object[^object::create[]]
        !             6: 
        !             7: # getter will be called and the result will be cached
        !             8: o1: $object.field
        !             9: # without getter call, cached result will be returned
        !            10: o2: $object.field
        !            11: o3: $object.field
        !            12: 
        !            13: calls count: $object.cnt
        !            14: 
        !            15: # 4class, not default as getter will be deleted from class
        !            16: # use $CLASS-GETTER-PROTECTED(false) to allow it.
        !            17: 
        !            18: # getter will be called and the result will be cached
        !            19: c1: $self.field
        !            20: # without getter call, cached result will be returned
        !            21: c2: $self.field
        !            22: c3: $self.field
        !            23: 
        !            24: calls count: $self.cnt
        !            25: 
        !            26: @GET_field[]
        !            27: $result[some code result]
        !            28: $self.field[$result]
        !            29: $self.cnt($self.cnt+1)
        !            30: 
        !            31: 
        !            32: @CLASS
        !            33: object
        !            34: 
        !            35: @create[]
        !            36: 
        !            37: @GET_field[]
        !            38: $result[some code result]
        !            39: $self.field[$result]
        !            40: $self.cnt($self.cnt+1)

E-mail: