Annotation of parser3/tests/384.html, revision 1.1
1.1 ! moko 1: @main[]
! 2:
! 3: a before: ^show[$a:CLASS]
! 4:
! 5: b before: ^show[$b:CLASS]
! 6:
! 7: ^reflection:mixin[$b:CLASS; $.to[$a:CLASS] $.fields(false) ]
! 8: 1. ^show[$a:CLASS]
! 9:
! 10: ^reflection:mixin[$b:CLASS; $.to[$a:CLASS] ]
! 11: 2. ^show[$a:CLASS]
! 12:
! 13: ^a:mixin[ $.methods(false) $.overwrite(true) ]
! 14: 3. ^show[$a:CLASS]
! 15:
! 16: $a:b[check]
! 17: property copied: $a:b
! 18:
! 19: ^a:mixin[ $.overwrite(true) ]
! 20: 4. ^show[$a:CLASS]
! 21:
! 22:
! 23: inheritance check: ^show[$c:CLASS]
! 24:
! 25: @show[v]
! 26: fields: ^json:string[$v]
! 27: $methods[^reflection:methods[$v.CLASS_NAME; $.reverse(false) ]]
! 28: ^methods.foreach[name;]{method ${name}:^if(^name.left(6) eq 'method'){ ^v.$name[]}
! 29: }
! 30:
! 31:
! 32: @CLASS
! 33: a
! 34:
! 35: @auto[]
! 36: $field[a]
! 37: $field_a[a specific]
! 38:
! 39: @create[]
! 40: $value[a]
! 41:
! 42: @method[]
! 43: a
! 44:
! 45: @method_a[]
! 46: a specific
! 47:
! 48: @mixin[options]
! 49: ^reflection:mixin[$b:CLASS;$options]
! 50:
! 51: @CLASS
! 52: b
! 53:
! 54: @auto[]
! 55: $field[b]
! 56: $field_b[b specific]
! 57:
! 58: @method[]
! 59: b
! 60:
! 61: @method_b[]
! 62: b specific
! 63:
! 64: @GET_b[]
! 65: b property "$property"
! 66:
! 67: @SET_b[value]
! 68: $self.property[$value]
! 69:
! 70:
! 71: @CLASS
! 72: c
! 73:
! 74: @BASE
! 75: a
! 76:
! 77: @method_c[]
! 78: c specific
E-mail: