--- parser3/tests/results/152.processed 2007/02/09 19:06:03 1.5 +++ parser3/tests/results/152.processed 2007/11/27 11:21:07 1.7 @@ -1,11 +1,24 @@ content-type: text/html -content-length: 6019 +content-length: 8022

Defines

$sEmpty[]
$sZero[0]
$sOne[1]
-$sTwo[2]

+$sTwo[2]
+$sTrue[true]
+$sFalse[false]
+
+$dZero(0.0)
+$dOne(1.1)
+$dTwo(2.2)
+
+$iZero(^dZero.int[])
+$iOne(^dOne.int[])
+$iTwo(^dTwo.int[])
+
+$bTrue(1==1)
+$bFalse(1==0)

$dtDate[^date::create(2007;01;02;03;04;05)]

$tEmptyTable[^table::create{a  b}]
@@ -18,55 +31,20 @@ $hHash[
  $.b[2]
]

-$dZero(0.0)
-$dOne(1.1)
-$dTwo(2.2)

-$iZero(^dZero.int[])
-$iOne(^dOne.int[])
-$iTwo(^dTwo.int[])

-$bTrue(1==1)
-$bFalse(1==0)

-$xDoc[^xdoc::create{}]
+$fFile[^file::load[text;152.html]]
+$fStat[^file::stat[152.html]]

+$fImage[^image::measure[103paf2001.gif]]

+$xDoc[^xdoc::create{<?xml version="1.0"?><root><t/><t/><t/></root>}]
$h[^xDoc.select[/root/t]]
$xNode[$h.0]
-

bool itself

-(1==0): false
-(1==1): true
-
-

bool methods for void

-^vVoid.bool(true): true
-^vVoid.bool(false): false
-

bool methods for string

-^sEmpty.bool(true): true
-^sEmpty.bool(false): false
-^sZero.bool(true): false
-^sZero.bool(false): false
-^sOne.bool(true): true
-^sOne.bool(false): true
-^sTwo.bool(true): true
-^sTwo.bool(false): true
-

bool methods for double

-^dZero.bool(true): false
-^dZero.bool(false): false
-^dOne.bool(true): true
-^dOne.bool(false): true
-^dTwo.bool(true): true
-^dTwo.bool(false): true
-

bool methods for int

-^iZero.bool(true): false
-^iZero.bool(false): false
-^iOne.bool(true): true
-^iOne.bool(false): true
-^iTwo.bool(true): true
-^iTwo.bool(false): true
-

others

+
- + @@ -84,6 +62,8 @@ $xNode[$h.0]
+ + @@ -101,6 +81,8 @@ $xNode[$h.0]
+ + @@ -118,6 +100,8 @@ $xNode[$h.0]
+ + @@ -135,6 +119,8 @@ $xNode[$h.0]
+ + @@ -152,6 +138,8 @@ $xNode[$h.0]
+ + @@ -169,6 +157,8 @@ $xNode[$h.0]
+ + @@ -186,6 +176,44 @@ $xNode[$h.0]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -203,6 +231,8 @@ $xNode[$h.0]
+ + @@ -220,6 +250,8 @@ $xNode[$h.0]
+ + @@ -237,6 +269,8 @@ $xNode[$h.0]
+ + @@ -254,6 +288,8 @@ $xNode[$h.0]
+ + @@ -271,6 +307,8 @@ $xNode[$h.0]
+ + @@ -288,6 +326,8 @@ $xNode[$h.0]
+ + @@ -305,6 +345,8 @@ $xNode[$h.0]
+ + @@ -322,6 +364,8 @@ $xNode[$h.0]
+ + @@ -339,6 +383,8 @@ $xNode[$h.0]
+ + @@ -356,6 +402,65 @@ $xNode[$h.0]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -370,6 +475,8 @@ $xNode[$h.0]
+ + @@ -388,6 +495,8 @@ $xNode[$h.0]
+ + @@ -406,6 +515,41 @@ $xNode[$h.0]
+ +

.CLASS_NAME (def ...) (...)is boolis stringis doubleis intis tableis hashis dateis xdocis xnodeis boolis stringis doubleis intis tableis hashis fileis imageis dateis xdocis xnode
$vVoid no no nonono
$bFalse no no nonono
$bTrue no no nonono
$sEmpty no no nonono
$sZero no no nonono
$sOne no no nonono
$sTwo no no nonono
$sTruestringyes
+
--noyesnonononononononono
$sFalsestringyes
+
--noyesnonononononononono
$dZero no no nonono
$dOne no no nonono
$dTwo no no nonono
$iZero no no nonono
$iOne no no nonono
$iTwo no no nonono
$tEmptyTable no no nonono
$tTable no no nonono
$hEmptyHash no no nonono
$hHash no no nonono
$fFilefileyes
+
true
+
nonononononoyesnononono
$fStatfileyes
+
true
+
nonononononoyesnononono
$fImageimageyes
+
true
+
nononononononoyesnonono
$dtDate no no nonono yes no no no no nonono yes yes
no no nonono yes
+

bool itself

+(1==0): false
+(1==1): true
+

bool methods for void

+^vVoid.bool(true): true
+^vVoid.bool(false): false
+

bool methods for string

+^sEmpty.bool(true): true
+^sEmpty.bool(false): false
+^sZero.bool(true): false
+^sZero.bool(false): false
+^sOne.bool(true): true
+^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
+^dOne.bool(true): true
+^dOne.bool(false): true
+^dTwo.bool(true): true
+^dTwo.bool(false): true
+

bool methods for int

+^iZero.bool(true): false
+^iZero.bool(false): false
+^iOne.bool(true): true
+^iOne.bool(false): true
+^iTwo.bool(true): true
+^iTwo.bool(false): true