Annotation of parser3/tests/results/468.processed, revision 1.1
1.1 ! moko 1: Content-Type: text/html
! 2: Content-Length: 4225
! 3:
! 4:
! 5:
! 6:
! 7:
! 8:
! 9:
! 10:
! 11:
! 12:
! 13:
! 14:
! 15:
! 16:
! 17:
! 18:
! 19:
! 20:
! 21:
! 22:
! 23:
! 24:
! 25:
! 26:
! 27:
! 28:
! 29:
! 30:
! 31:
! 32:
! 33: 1. CLASS_NAME and CLASS.CLASS_NAME:
! 34: 1.1 $bool.CLASS_NAME, $bool.CLASS.CLASS_NAME: bool, bool
! 35: $int.CLASS_NAME, $int.CLASS.CLASS_NAME: int, int
! 36: $double.CLASS_NAME, $double.CLASS.CLASS_NAME: double, double
! 37: $file.CLASS_NAME, $file.CLASS.CLASS_NAME: file, file
! 38: $date.CLASS_NAME, $date.CLASS.CLASS_NAME: date, date
! 39: $xdoc.CLASS_NAME, $xdoc.CLASS.CLASS_NAME: xdoc, xdoc
! 40: $xnode.CLASS_NAME, $xnode.CLASS.CLASS_NAME: xnode, xnode
! 41: $image.CLASS_NAME, $image.CLASS.CLASS_NAME: image, image
! 42: $object.CLASS_NAME, $object.CLASS.CLASS_NAME: test, test
! 43:
! 44: 1.2 $hash.CLASS_NAME, $hash.CLASS.CLASS_NAME: hash, hash
! 45: $array.CLASS_NAME, $array.CLASS.CLASS_NAME: array, array
! 46: $table.CLASS_NAME, $table.CLASS.CLASS_NAME: table, table
! 47: $hashfile.CLASS_NAME, $hashfile.CLASS.CLASS_NAME: hashfile, hashfile
! 48: $string.CLASS_NAME, $string.CLASS.CLASS_NAME: string, string
! 49: $empty.CLASS_NAME, $empty.CLASS.CLASS_NAME: string, string
! 50: $void.CLASS_NAME, $void.CLASS.CLASS_NAME: void, void
! 51:
! 52: 1.3 $regex.CLASS_NAME, $regex.CLASS.CLASS_NAME: regex, regex
! 53: $junction.CLASS_NAME, $junction.CLASS.CLASS_NAME: junction, junction
! 54: $code.CLASS_NAME, $code.CLASS.CLASS_NAME: string, string
! 55: $caught.CLASS_NAME, $caught.CLASS.CLASS_NAME: hash, hash
! 56:
! 57: 1.4 $MAIN:CLASS_NAME, $MAIN:CLASS.CLASS_NAME: MAIN, MAIN
! 58: $test:CLASS_NAME, $test:CLASS.CLASS_NAME: test, test
! 59: $env:CLASS_NAME, $env:CLASS.CLASS_NAME: env, env
! 60: $request:CLASS_NAME, $request:CLASS.CLASS_NAME: request, request
! 61: $form:CLASS_NAME, $form:CLASS.CLASS_NAME: form, form
! 62: $cookie:CLASS_NAME, $cookie:CLASS.CLASS_NAME: cookie, cookie
! 63: $status:CLASS_NAME, $status:CLASS.CLASS_NAME: status, status
! 64: $console:CLASS_NAME, $console:CLASS.CLASS_NAME: console, console
! 65: $memory:CLASS_NAME, $memory:CLASS.CLASS_NAME: memory, memory
! 66: $hash:CLASS_NAME, $hash:CLASS.CLASS_NAME: hash, hash
! 67: $table:CLASS_NAME, $table:CLASS.CLASS_NAME: table, table
! 68: $file:CLASS_NAME, $file:CLASS.CLASS_NAME: file, file
! 69: $response:CLASS_NAME, $response:CLASS.CLASS_NAME: response, response
! 70: $math:CLASS_NAME, $math:CLASS.CLASS_NAME: math, math
! 71: $json:CLASS_NAME, $json:CLASS.CLASS_NAME: json, json
! 72: $reflection:CLASS_NAME, $reflection:CLASS.CLASS_NAME: reflection, reflection
! 73: $mail:CLASS_NAME, $mail:CLASS.CLASS_NAME: mail, mail
! 74: $inet:CLASS_NAME, $inet:CLASS.CLASS_NAME: inet, inet
! 75:
! 76:
! 77: 2. the method is called:
! 78: 2.1 ^bool.int[]: 1
! 79: ^int.double[]: 1
! 80: ^double.int[]: 1
! 81: ^file.base64[]: YWJj
! 82: ^date.sql-string[]: 2026-10-12 00:00:00
! 83: ^xdoc.string[]: <?xml version="1.0" encoding="UTF-8"?>
! 84: <a><b/></a>
! 85:
! 86: ^xnode.normalize[]:
! 87: ^image.html[]: <img width="1" height="1" border="0" />
! 88: ^object.m[]: method
! 89:
! 90: 2.2 ^hash.count[]: 1
! 91: ^array.count[]: 2
! 92: ^table.count[]: 1
! 93: ^hashfile.cleanup[]:
! 94: ^string.length[]: 3
! 95: ^empty.length[]: 0
! 96: ^void.length[]: 0
! 97:
! 98:
! 99: 3. $o.method is junction:
! 100: 3.1 $bool.int: junction
! 101: $int.double: junction
! 102: $double.int: junction
! 103: $file.base64: junction
! 104: $date.sql-string: junction
! 105: $xdoc.string: junction
! 106: $xnode.normalize: junction
! 107: $image.html: junction
! 108: $object.m: junction
! 109:
! 110: 3.2 $test:s: junction
! 111: $memory:compact: junction
! 112: $math:abs: junction
! 113: $json:string: junction
! 114: $reflection:classes: junction
! 115: $mail:send: junction
! 116: $inet:ntoa: junction
! 117:
! 118:
! 119: 4. $o.method is inaccessible in objects with an open set of keys:
! 120: $hash.count: empty
! 121: $array.count: Exception: invalid number (int)
! 122: $table.count: Exception: column not found
! 123: $hashfile.cleanup: empty
! 124: $string.length: Exception: element cannot be fetched from string
! 125: $empty.length: empty
! 126: $void.length: empty
! 127:
! 128: $response:send: empty
! 129:
! 130:
! 131: 5. fields named as the methods are found, the methods are still called:
! 132:
! 133:
! 134:
! 135: hashfile: value of cleanup,
! 136: hash: value of count, 1
! 137: columns: 1 2
! 138:
! 139:
! 140: $response:clear: value "value of clear"
! 141:
! 142:
! 143:
! 144: 6. table and hashfile keep only strings (unlike hash or array) and thus can't be called:
! 145: $columns.data: x
! 146:
! 147: ^columns.data[]: Exception: table method not found
! 148:
! 149: $columns.no-such-field: Exception: column not found
! 150:
! 151: ^columns.no-such-field[]: Exception: table method not found
! 152:
! 153:
! 154: ^hashfile.key[]: Exception: hashfile method not found
! 155:
! 156: 6.1 but hash values can be called:
! 157:
! 158: ^hash.f[]: method
! 159:
! 160:
! 161: 7. CLASS is compiled into the class, the computed name is the key:
! 162:
! 163:
! 164: hash: hash, key value
! 165:
! 166:
E-mail: