--- parser3/tests/results/152.processed 2007/02/12 11:23:01 1.6
+++ parser3/tests/results/152.processed 2017/02/14 15:49:19 1.11
@@ -1,17 +1,22 @@
-content-type: text/html
-content-length: 7362
+Content-Type: text/html
+Content-Length: 8264
Defines
$sEmpty[]
$sZero[0]
$sOne[1]
-$sTwo[2]
+$sTwo[2]
+$sTrue[true]
+$sFalse[false]
+
$dZero(0.0)
$dOne(1.1)
-$dTwo(2.2)
+$dTwo(2.2)
+
$iZero(^dZero.int[])
$iOne(^dOne.int[])
-$iTwo(^dTwo.int[])
+$iTwo(^dTwo.int[])
+
$bTrue(1==1)
$bFalse(1==0)
$dtDate[^date::create(2007;01;02;03;04;05)]
@@ -21,6 +26,7 @@ $tTable[^table::create{a b
$hEmptyHash[^hash::create[]]
+$hDefaultHash[^hash::create[ $._default[yes] ]]
$hHash[
$.a[1]
$.b[2]
@@ -29,7 +35,7 @@ $hHash[
$fFile[^file::load[text;152.html]]
$fStat[^file::stat[152.html]]
$fImage[^image::measure[103paf2001.gif]]
-$xDoc[^xdoc::create{}]
+$xDoc[^xdoc::create{<?xml version="1.0"?><root><t/><t/><t/></root>}]
$h[^xDoc.select[/root/t]]
$xNode[$h.0]
@@ -44,10 +50,8 @@ $xNode[$h.0]
| $vVoid |
void |
-no
- |
-false
- |
+no
|
+false
|
no |
no |
no |
@@ -63,10 +67,8 @@ $xNode[$h.0]
| $bFalse |
bool |
-yes
- |
-false
- |
+yes
|
+false
|
yes |
no |
no |
@@ -82,10 +84,8 @@ $xNode[$h.0]
| $bTrue |
bool |
-yes
- |
-true
- |
+yes
|
+true
|
yes |
no |
no |
@@ -100,11 +100,9 @@ $xNode[$h.0]
| $sEmpty |
-void |
-no
- |
-false
- |
+string |
+no
|
+false
|
no |
yes |
no |
@@ -120,10 +118,8 @@ $xNode[$h.0]
| $sZero |
string |
-yes
- |
-false
- |
+yes
|
+false
|
no |
yes |
no |
@@ -139,10 +135,8 @@ $xNode[$h.0]
| $sOne |
string |
-yes
- |
-true
- |
+yes
|
+true
|
no |
yes |
no |
@@ -158,10 +152,42 @@ $xNode[$h.0]
| $sTwo |
string |
-yes
- |
-true
- |
+yes
|
+true
|
+no |
+yes |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+
+
+| $sTrue |
+string |
+yes
|
+-- |
+no |
+yes |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+no |
+
+
+| $sFalse |
+string |
+yes
|
+-- |
no |
yes |
no |
@@ -177,10 +203,8 @@ $xNode[$h.0]
| $dZero |
double |
-yes
- |
-false
- |
+yes
|
+false
|
no |
no |
yes |
@@ -196,10 +220,8 @@ $xNode[$h.0]
| $dOne |
double |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
yes |
@@ -215,10 +237,8 @@ $xNode[$h.0]
| $dTwo |
double |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
yes |
@@ -234,10 +254,8 @@ $xNode[$h.0]
| $iZero |
int |
-yes
- |
-false
- |
+yes
|
+false
|
no |
no |
no |
@@ -253,10 +271,8 @@ $xNode[$h.0]
| $iOne |
int |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -272,10 +288,8 @@ $xNode[$h.0]
| $iTwo |
int |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -291,10 +305,8 @@ $xNode[$h.0]
| $tEmptyTable |
table |
-no
- |
-false
- |
+no
|
+false
|
no |
no |
no |
@@ -310,10 +322,8 @@ $xNode[$h.0]
| $tTable |
table |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -329,10 +339,25 @@ $xNode[$h.0]
| $hEmptyHash |
hash |
-no
- |
-false
- |
+no
|
+false
|
+no |
+no |
+no |
+no |
+no |
+yes |
+no |
+no |
+no |
+no |
+no |
+
+
+| $hDefaultHash |
+hash |
+yes
|
+false
|
no |
no |
no |
@@ -348,10 +373,8 @@ $xNode[$h.0]
| $hHash |
hash |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -367,10 +390,8 @@ $xNode[$h.0]
| $fFile |
file |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -386,10 +407,8 @@ $xNode[$h.0]
| $fStat |
file |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -405,10 +424,8 @@ $xNode[$h.0]
| $fImage |
image |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -424,10 +441,8 @@ $xNode[$h.0]
| $dtDate |
date |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -443,10 +458,8 @@ $xNode[$h.0]
| $xDoc |
xdoc |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -462,10 +475,8 @@ $xNode[$h.0]
| $xNode |
xnode |
-yes
- |
-true
- |
+yes
|
+true
|
no |
no |
no |
@@ -494,6 +505,10 @@ $xNode[$h.0]
^sOne.bool(false): true
^sTwo.bool(true): true
^sTwo.bool(false): true
+^sTrue.bool(true): true
+^sTrue.bool(false): true
+^sFalse.bool(true): false
+^sFalse.bool(false): false
bool methods for double
^dZero.bool(true): false
^dZero.bool(false): false
@@ -507,4 +522,4 @@ $xNode[$h.0]
^iOne.bool(true): true
^iOne.bool(false): true
^iTwo.bool(true): true
-^iTwo.bool(false): true
+^iTwo.bool(false): true
\ No newline at end of file