PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/parser/htmlparser/tests/html/xmp005.html

http://github.com/zpao/v8monkey
HTML | 48 lines | 46 code | 2 blank | 0 comment | 0 complexity | a1bc45ecc6f3f6702d076cf830682b8e MD5 | raw file
 1<html>
 2<body>
 3use a XMP tag for C or JAVA source code.
 4<br> The lt and gt signes are problematic.
 5
 6
 7<XMP>
 8  cc = 123;
 9  // test lt
10  if( cc < hhh ) {
11    if(cc<xxx || as > gh) {
12        //do womthing here;
13    }
14  }
15  if( cc <= iii ) {
16    if(cc<=yyy) {
17        //do womthing here;
18    }
19  }
20  // test gt
21  if( cc > rrr ) {
22    if(cc>eee) {
23        //do womthing here;
24    }
25  }
26  if( cc >= www ) {
27    if(cc>=qqq) {
28        //do womthing here;
29    }
30  }
31  // what if the variable name is a valid tag name.
32  if( cc < B && cc > kk ) {
33    if(cc<B && cc > gg) {
34        //do womthing here;
35    }
36  }
37  cc = aa<<I;
38  cc = B>>3;
39  gt = true;
40  for(a=0,gt=true; (a>0)&&gt; a++) {
41  }
42  a = 0x0004;
43  lt = 0x0002;
44  for(; a&lt; ) {
45  }
46</XMP>
47</body>
48</html>