Annotation of parser3/tests/297.html, revision 1.1
1.1 ! moko 1: @main[]
! 2:
! 3: a1. $o[^a::create[]]
! 4: ^o.method[]
! 5:
! 6: a2. $o[^a::create[]]
! 7: ^o.method[value]
! 8:
! 9: b1. $o[^b::create[]]
! 10: ^o.method[]
! 11:
! 12: b2. $o[^b::create[]]
! 13: ^o.method[value]
! 14:
! 15: c1. $o[^c::create[]]
! 16: ^o.method[]
! 17:
! 18: c2. $o[^c::create[]]
! 19: ^o.method[value]
! 20:
! 21: @CLASS
! 22: a
! 23:
! 24: @create[init]
! 25: $log[]
! 26: $fields[^hash::create[]]
! 27:
! 28: @l[v]
! 29: $log[${log}log: $v^#0A]
! 30:
! 31: @p[v]
! 32: $result['^if($v is table){table}{$v}' $v.CLASS_NAME]
! 33:
! 34: @method[init][str]
! 35: ^if(def $init){$match[$init]}
! 36:
! 37: $str[2002]
! 38:
! 39: ^l[before match]
! 40: ^str.match[(\d+)][]{
! 41: year: $match.1
! 42: $match.CLASS_NAME
! 43: }
! 44: ^l[after match]
! 45:
! 46: match: ^p[$match]
! 47: $log
! 48:
! 49: @CLASS
! 50: b
! 51:
! 52: @BASE
! 53: a
! 54:
! 55: @SET_DEFAULT[n;v]
! 56: ^l[set_default[$n^;^p[$v]]]
! 57: $fields.$n[$v]
! 58:
! 59: @CLASS
! 60: c
! 61:
! 62: @BASE
! 63: b
! 64:
! 65: @GET_DEFAULT[n][v]
! 66: $v[$fields.$n]
! 67: ^l[get_default[$n] - ^p[$v]]
! 68: $result[$v]
E-mail: