File:  [parser3project] / parser3 / tests / 229.html
Revision 1.8: download - view: text, annotated - select for diffs - revision graph
Sun May 26 18:37:22 2024 UTC (2 years ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
tests updated as single quote now escaped with ' in HTML tainting mode (related to feature #1241)

@main[]
^do{^if[]}
^do{^if(true)}
^do{^if(true){1}}
^do{^if(true){1}{2}}
^do{^if(false){1}(true){3}}
^do{^if(false){1}(true){3}{4}}
^do{^if(false){1}(false){3}}
^do{^if(false){1}(false){3}{4}}
<hr />

^do{^for[]}
^do{^for[i]}
^do{^for[i](0)}
^do{^for[i](0;1)}
^do{^for[i](0;1){$i }}
^do{^for[i](0;1){$i }[,]}
^do{^for[i](0;1){$i }[,][z]}
<hr />

^do{^process[]}
^do{^process[$self]}
^do{^process{1}}
^do{^process{1}[$.file[file]]}
^do{^process{1}[$.file[file]][zigi][zigi]}
<hr />

^do{^method[]}
^do{^method(1)}
^do{^method(1){1}}
^do{^method(1){1}{2}}
^do{^method_no_args[1]}
^do{^method_no_args(1)}
^do{^method_no_args[]}
^do{^method_no_args{}}

@do[jCode]
^try{$jCode}{$exception.handled(true)$exception.source ^taint[as-is;$exception.comment]}<br />

@method[a;b]
$a=$b

@method_no_args[]
void

E-mail: