Annotation of parser3/tests/324.html, revision 1.2
1.1 moko 1: @main[]
2:
3: ^rem{ OP_GET_ELEMENT4CALL, OP_GET_OBJECT_ELEMENT4CALL, OP_GET_OBJECT_VAR_ELEMENT4CALL are tested here }
4:
5: ^test[ $.name[value] ]
6: ^test[ $._count[is count] $.name[value] ]
7:
8: ^test[ ^table::create{name
9: value} ]
10:
11: ^test[ ^table::create{name count
12: value is count} ]
13:
14: @test[h]
15: Testing $h.CLASS_NAME
16:
17: Test-hash:
18: ^test-hash[$h]
19: Test-table:
20: ^test-table[$h]
21: Test-no-such-method:
22: ^test-no-such-method[$h]
23:
24: @test-hash[h][deep;var]
25:
26: $deep[ $.h[$h] ]
27: $var[_count]
28:
1.2 ! moko 29: ^t-c{var: $deep.h._count}
! 30: ^t-c{method: ^deep.h._count[]}
! 31: ^t-c{var: $deep.h.$var}
! 32: ^t-c{method: ^deep.h.$var[]}
! 33:
! 34: ^t-c{var: $h._count}
! 35: ^t-c{method: ^h._count[]}
! 36: ^t-c{var: $h.$var}
! 37: ^t-c{method: ^h.$var[]}
1.1 moko 38:
39: @test-table[h][deep;var]
40:
41: $deep[ $.h[$h] ]
42: $var[count]
43:
1.2 ! moko 44: ^t-c{var: $deep.h.count}
! 45: ^t-c{method: ^deep.h.count[]}
! 46: ^t-c{var: $deep.h.$var}
! 47: ^t-c{method: ^deep.h.$var[]}
! 48:
! 49: ^t-c{var: $h.count}
! 50: ^t-c{method: ^h.count[]}
! 51: ^t-c{var: $h.$var}
! 52: ^t-c{method: ^h.$var[]}
1.1 moko 53:
54: @test-no-such-method[h][deep;var]
55:
56: $deep[ $.h[$h] ]
57: $var[no-such-method]
58:
1.2 ! moko 59: ^t-c{var: $deep.h.no-such-method}
! 60: ^t-c{method: ^deep.h.no-such-method[]}
! 61: ^t-c{var: $deep.h.$var}
! 62: ^t-c{method: ^deep.h.$var[]}
! 63:
! 64: ^t-c{var: $h.no-such-method}
! 65: ^t-c{method: ^h.no-such-method[]}
! 66: ^t-c{var: $h.$var}
! 67: ^t-c{method: ^h.$var[]}
! 68:
! 69: @t-c[code]
! 70: $result[^try-catch{$code}]
! 71: ^if($result is junction){$result[junction]}
E-mail: