Annotation of parser3/tests/261.html, revision 1.3

1.3     ! misha       1: @main[]
        !             2: 
        !             3: $void_methods[^reflection:methods[void]]
        !             4: $string_methods[^reflection:methods[string]]
        !             5: 
        !             6: ^if($void_methods != $string_methods){
        !             7:        String has ^string_methods._count[] while void has ^void_methods._count[].
        !             8: }
        !             9: 
        !            10: $s[]
        !            11: $v[$void]
        !            12: 
        !            13: Empty string vs void:
        !            14: 
        !            15: Json: ^json:string[$s] vs ^json:string[$v]
        !            16: Json (void as string): ^json:string[$s;$.void[string]] vs ^json:string[$v;$.void[string]]
        !            17: Json (void as null): ^json:string[$s;$.void[null]] vs ^json:string[$v;$.void[null]]
        !            18: Length: ^s.length[] vs ^v.length[]
        !            19: Double: ^s.double(0) vs ^v.double(0)
        !            20: Base64: "^s.base64[]" vs "^v.base64[]"
        !            21: Hash compatibility: "$s.key" "$v.key"
        !            22: 
        !            23: Non-empty string: ^try{
        !            24:        $s[string]
        !            25:        $s.key
        !            26: }{
        !            27:        $exception.handled(1)
        !            28:        has no hash compatibility
        !            29: }
        !            30: 
        !            31: ^string_methods.foreach[k;v]{
        !            32:        ^if(!($v.$k is 'junction')){
        !            33:                String method $k absent in void
        !            34:        }
        !            35: }

E-mail: