Lines Matching refs:typemethods

346 # type and typemethods
354 test type-1.2 {typemethods can be defined} -body {
366 test type-1.3 {upvar works in typemethods} -body {
741 test dtypemethod-1.5 {delegating unknown typemethods to existing typecomponent} -body {
1969 test mytypemethod-1.1 {mytypemethod qualifies typemethods} -body {
2068 test typevariable-1.5 {typevariables can used in typemethods} -body {
5410 test iinfo-7.1 {info typemethods, simple case} -body {
5415 lsort [spot info typemethods]
5420 test iinfo-7.2 {info typemethods, with pattern} -body {
5425 spot info typemethods i*
5430 test iinfo-7.3 {info typemethods, with explicit typemethods} -body {
5438 lsort [spot info typemethods]
5443 test iinfo-7.4 {info typemethods, with implicit typemethods} -body {
5454 set a [lsort [spot info typemethods]]
5459 set b [lsort [spot info typemethods]]
5461 set c [spot info typemethods len*]
5468 test iinfo-7.5 {info typemethods, with hierarchical typemethods} -body {
5477 lsort [spot info typemethods]
5885 test tinfo-5.1 {type info typemethods, simple case} -body {
5888 lsort [dog info typemethods]
5893 test tinfo-5.2 {type info typemethods, with pattern} -body {
5896 dog info typemethods i*
5901 test tinfo-5.3 {type info typemethods, with explicit typemethods} -body {
5907 lsort [dog info typemethods]
5912 test tinfo-5.4 {type info typemethods, with implicit typemethods} -body {
5921 set a [lsort [dog info typemethods]]
5926 set b [lsort [dog info typemethods]]
5928 set c [dog info typemethods len*]
5935 test tinfo-5.5 {info typemethods, with hierarchical typemethods} -body {
5942 lsort [dog info typemethods]
6483 # Externally defined typemethods
6485 test etypemethod-1.1 {external typemethods can be called as expected} -body {
6494 test etypemethod-1.2 {external typemethods can use typevariables} -body {
6505 test etypemethod-1.3 {typemethods can be redefined dynamically} -body {
7031 test typevar_var-1.6 {can't delegate typemethods to instance components} -body {
8129 } -result {type ::dog has neither typemethods nor instances}