Hex Artifact Content
Not logged in

Artifact 36c65f5586a93a9380cb6295f73892275b7af3f1:


0000: 0d 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0d 0a  ..<html><head>..
0010: 3c 6d 65 74 61 20 68 74 74 70 2d 65 71 75 69 76  <meta http-equiv
0020: 3d 22 63 6f 6e 74 65 6e 74 2d 74 79 70 65 22 20  ="content-type" 
0030: 63 6f 6e 74 65 6e 74 3d 22 74 65 78 74 2f 68 74  content="text/ht
0040: 6d 6c 3b 20 63 68 61 72 73 65 74 3d 75 74 66 2d  ml; charset=utf-
0050: 38 22 3e 0d 0a 3c 6d 65 74 61 20 63 6f 6e 74 65  8">..<meta conte
0060: 6e 74 3d 22 74 65 78 74 2f 6a 61 76 61 73 63 72  nt="text/javascr
0070: 69 70 74 22 20 68 74 74 70 2d 65 71 75 69 76 3d  ipt" http-equiv=
0080: 22 63 6f 6e 74 65 6e 74 2d 73 63 72 69 70 74 2d  "content-script-
0090: 74 79 70 65 22 3e 0d 0a 3c 74 69 74 6c 65 3e 70  type">..<title>p
00a0: 6f 6c 65 6d 79 2e 6c 65 78 3c 2f 74 69 74 6c 65  olemy.lex</title
00b0: 3e 0d 0a 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74  >..<link rel="st
00c0: 79 6c 65 73 68 65 65 74 22 20 74 79 70 65 3d 22  ylesheet" type="
00d0: 74 65 78 74 2f 63 73 73 22 20 68 72 65 66 3d 22  text/css" href="
00e0: 63 61 6e 64 79 64 6f 63 2f 73 74 79 6c 65 2e 63  candydoc/style.c
00f0: 73 73 22 3e 0d 0a 3c 21 2d 2d 5b 69 66 20 6c 74  ss">..<!--[if lt
0100: 20 49 45 20 37 5d 3e 3c 6c 69 6e 6b 20 72 65 6c   IE 7]><link rel
0110: 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 74 79  ="stylesheet" ty
0120: 70 65 3d 22 74 65 78 74 2f 63 73 73 22 20 68 72  pe="text/css" hr
0130: 65 66 3d 22 63 61 6e 64 79 64 6f 63 2f 69 65 35  ef="candydoc/ie5
0140: 36 68 61 63 6b 2e 63 73 73 22 3e 3c 21 5b 65 6e  6hack.css"><![en
0150: 64 69 66 5d 2d 2d 3e 0d 0a 3c 73 63 72 69 70 74  dif]-->..<script
0160: 20 6c 61 6e 67 75 61 67 65 3d 22 4a 61 76 61 53   language="JavaS
0170: 63 72 69 70 74 22 20 73 72 63 3d 22 63 61 6e 64  cript" src="cand
0180: 79 64 6f 63 2f 75 74 69 6c 2e 6a 73 22 20 74 79  ydoc/util.js" ty
0190: 70 65 3d 22 74 65 78 74 2f 6a 61 76 61 73 63 72  pe="text/javascr
01a0: 69 70 74 22 3e 3c 2f 73 63 72 69 70 74 3e 0d 0a  ipt"></script>..
01b0: 3c 73 63 72 69 70 74 20 6c 61 6e 67 75 61 67 65  <script language
01c0: 3d 22 4a 61 76 61 53 63 72 69 70 74 22 20 73 72  ="JavaScript" sr
01d0: 63 3d 22 63 61 6e 64 79 64 6f 63 2f 74 72 65 65  c="candydoc/tree
01e0: 2e 6a 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f  .js" type="text/
01f0: 6a 61 76 61 73 63 72 69 70 74 22 3e 3c 2f 73 63  javascript"></sc
0200: 72 69 70 74 3e 0d 0a 3c 73 63 72 69 70 74 20 6c  ript>..<script l
0210: 61 6e 67 75 61 67 65 3d 22 4a 61 76 61 53 63 72  anguage="JavaScr
0220: 69 70 74 22 20 73 72 63 3d 22 63 61 6e 64 79 64  ipt" src="candyd
0230: 6f 63 2f 65 78 70 6c 6f 72 65 72 2e 6a 73 22 20  oc/explorer.js" 
0240: 74 79 70 65 3d 22 74 65 78 74 2f 6a 61 76 61 73  type="text/javas
0250: 63 72 69 70 74 22 3e 3c 2f 73 63 72 69 70 74 3e  cript"></script>
0260: 0d 0a 3c 2f 68 65 61 64 3e 3c 62 6f 64 79 3e 0d  ..</head><body>.
0270: 0a 3c 64 69 76 20 69 64 3d 22 74 61 62 61 72 65  .<div id="tabare
0280: 61 22 3e 3c 2f 64 69 76 3e 3c 64 69 76 20 69 64  a"></div><div id
0290: 3d 22 65 78 70 6c 6f 72 65 72 63 6c 69 65 6e 74  ="explorerclient
02a0: 22 3e 3c 2f 64 69 76 3e 0d 0a 3c 64 69 76 20 69  "></div>..<div i
02b0: 64 3d 22 63 6f 6e 74 65 6e 74 22 3e 3c 73 63 72  d="content"><scr
02c0: 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 69 6e 69  ipt>explorer.ini
02d0: 74 69 61 6c 69 7a 65 28 22 70 6f 6c 65 6d 79 2e  tialize("polemy.
02e0: 6c 65 78 22 29 3b 3c 2f 73 63 72 69 70 74 3e 0d  lex");</script>.
02f0: 0a 09 3c 74 61 62 6c 65 20 63 6c 61 73 73 3d 22  ..<table class="
0300: 63 6f 6e 74 65 6e 74 22 3e 0d 0a 09 09 3c 74 72  content">....<tr
0310: 3e 3c 74 64 20 69 64 3d 22 64 6f 63 62 6f 64 79  ><td id="docbody
0320: 22 3e 3c 68 31 3e 70 6f 6c 65 6d 79 2e 6c 65 78  "><h1>polemy.lex
0330: 3c 2f 68 31 3e 3c 21 2d 2d 20 47 65 6e 65 72 61  </h1><!-- Genera
0340: 74 65 64 20 62 79 20 44 64 6f 63 20 66 72 6f 6d  ted by Ddoc from
0350: 20 70 6f 6c 65 6d 79 5c 6c 65 78 2e 64 20 2d 2d   polemy\lex.d --
0360: 3e 0d 0a 3c 62 3e 41 75 74 68 6f 72 73 3a 3c 2f  >..<b>Authors:</
0370: 62 3e 3c 62 72 3e 0d 0a 6b 2e 69 6e 61 62 61 0d  b><br>..k.inaba.
0380: 0a 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 62 3e 4c 69  .<br><br>..<b>Li
0390: 63 65 6e 73 65 3a 3c 2f 62 3e 3c 62 72 3e 0d 0a  cense:</b><br>..
03a0: 4e 59 53 4c 20 30 2e 39 39 38 32 20 68 74 74 70  NYSL 0.9982 http
03b0: 3a 2f 2f 77 77 77 2e 6b 6d 6f 6e 6f 73 2e 6e 65  ://www.kmonos.ne
03c0: 74 2f 6e 79 73 6c 2f 0d 0a 3c 62 72 3e 3c 62 72  t/nysl/..<br><br
03d0: 3e 0d 0a 0d 0a 20 4c 65 78 65 72 20 66 6f 72 20  >.... Lexer for 
03e0: 50 6f 6c 65 6d 79 20 70 72 6f 67 72 61 6d 6d 69  Polemy programmi
03f0: 6e 67 20 6c 61 6e 67 75 61 67 65 2e 3c 62 72 3e  ng language.<br>
0400: 3c 62 72 3e 0d 0a 0d 0a 0d 0a 3c 73 63 72 69 70  <br>......<scrip
0410: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
0420: 6e 65 2e 69 6e 63 53 79 6d 62 6f 6c 4c 65 76 65  ne.incSymbolLeve
0430: 6c 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c  l();</script>..<
0440: 64 6c 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70  dl>..<script>exp
0450: 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77 72  lorer.outline.wr
0460: 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 74 72 75  iteEnabled = tru
0470: 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 64 74  e;</script>..<dt
0480: 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 64 65  ><span class="de
0490: 63 6c 22 3e 63 6c 61 73 73 20 0d 0a 3c 73 70 61  cl">class ..<spa
04a0: 6e 20 63 6c 61 73 73 3d 22 63 75 72 72 73 79 6d  n class="currsym
04b0: 62 6f 6c 22 3e 54 6f 6b 65 6e 3c 2f 73 70 61 6e  bol">Token</span
04c0: 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f  >..<script>explo
04d0: 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44  rer.outline.addD
04e0: 65 63 6c 28 27 54 6f 6b 65 6e 27 29 3b 3c 2f 73  ecl('Token');</s
04f0: 63 72 69 70 74 3e 0d 0a 0d 0a 3b 0d 0a 3c 2f 73  cript>....;..</s
0500: 70 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69  pan></dt>..<scri
0510: 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c  pt>explorer.outl
0520: 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64  ine.writeEnabled
0530: 20 3d 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70   = false;</scrip
0540: 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e 52 65 70 72  t>......<dd>Repr
0550: 65 73 65 6e 74 73 20 61 20 6c 65 78 65 72 20 74  esents a lexer t
0560: 6f 6b 65 6e 3c 62 72 3e 3c 62 72 3e 0d 0a 0d 0a  oken<br><br>....
0570: 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72  ..<script>explor
0580: 65 72 2e 6f 75 74 6c 69 6e 65 2e 69 6e 63 53 79  er.outline.incSy
0590: 6d 62 6f 6c 4c 65 76 65 6c 28 29 3b 3c 2f 73 63  mbolLevel();</sc
05a0: 72 69 70 74 3e 0d 0a 3c 64 6c 3e 0d 0a 3c 73 63  ript>..<dl>..<sc
05b0: 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75  ript>explorer.ou
05c0: 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c  tline.writeEnabl
05d0: 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69  ed = true;</scri
05e0: 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63  pt>..<dt><span c
05f0: 6c 61 73 73 3d 22 64 65 63 6c 22 3e 69 6d 6d 75  lass="decl">immu
0600: 74 61 62 6c 65 20 4c 65 78 50 6f 73 69 74 69 6f  table LexPositio
0610: 6e 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d  n ..<span class=
0620: 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e 70 6f 73  "currsymbol">pos
0630: 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69 70 74  </span>..<script
0640: 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e  >explorer.outlin
0650: 65 2e 61 64 64 44 65 63 6c 28 27 70 6f 73 27 29  e.addDecl('pos')
0660: 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a 3b 0d  ;</script>....;.
0670: 0a 3c 2f 73 70 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c  .</span></dt>..<
0680: 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e  script>explorer.
0690: 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61  outline.writeEna
06a0: 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 3c 2f 73  bled = false;</s
06b0: 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e  cript>......<dd>
06c0: 50 6f 73 69 74 69 6f 6e 20 77 68 65 72 65 20 74  Position where t
06d0: 68 65 20 74 6f 6b 65 6e 20 6f 63 63 75 72 72 65  he token occurre
06e0: 64 20 69 6e 20 74 68 65 20 73 6f 75 72 63 65 3c  d in the source<
06f0: 62 72 3e 3c 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e  br><br>....</dd>
0700: 0d 0a 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c  ....<script>expl
0710: 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77 72 69  orer.outline.wri
0720: 74 65 45 6e 61 62 6c 65 64 20 3d 20 74 72 75 65  teEnabled = true
0730: 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 64 74 3e  ;</script>..<dt>
0740: 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 64 65 63  <span class="dec
0750: 6c 22 3e 69 6d 6d 75 74 61 62 6c 65 20 73 74 72  l">immutable str
0760: 69 6e 67 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73  ing ..<span clas
0770: 73 3d 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e 73  s="currsymbol">s
0780: 74 72 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69  tr</span>..<scri
0790: 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c  pt>explorer.outl
07a0: 69 6e 65 2e 61 64 64 44 65 63 6c 28 27 73 74 72  ine.addDecl('str
07b0: 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a  ');</script>....
07c0: 3b 0d 0a 3c 2f 73 70 61 6e 3e 3c 2f 64 74 3e 0d  ;..</span></dt>.
07d0: 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65  .<script>explore
07e0: 72 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45  r.outline.writeE
07f0: 6e 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 3c  nabled = false;<
0800: 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64  /script>......<d
0810: 64 3e 54 68 65 20 74 6f 6b 65 6e 20 73 74 72 69  d>The token stri
0820: 6e 67 20 69 74 73 65 6c 66 3c 62 72 3e 3c 62 72  ng itself<br><br
0830: 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73  >....</dd>....<s
0840: 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f  cript>explorer.o
0850: 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62  utline.writeEnab
0860: 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72  led = true;</scr
0870: 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20  ipt>..<dt><span 
0880: 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e 69 6d 6d  class="decl">imm
0890: 75 74 61 62 6c 65 20 62 6f 6f 6c 20 0d 0a 3c 73  utable bool ..<s
08a0: 70 61 6e 20 63 6c 61 73 73 3d 22 63 75 72 72 73  pan class="currs
08b0: 79 6d 62 6f 6c 22 3e 71 75 6f 74 65 64 3c 2f 73  ymbol">quoted</s
08c0: 70 61 6e 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78  pan>..<script>ex
08d0: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 61  plorer.outline.a
08e0: 64 64 44 65 63 6c 28 27 71 75 6f 74 65 64 27 29  ddDecl('quoted')
08f0: 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a 3b 0d  ;</script>....;.
0900: 0a 3c 2f 73 70 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c  .</span></dt>..<
0910: 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e  script>explorer.
0920: 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61  outline.writeEna
0930: 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 3c 2f 73  bled = false;</s
0940: 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e  cript>......<dd>
0950: 57 61 73 20 69 74 20 61 20 22 0d 0a 3c 73 70 61  Was it a "..<spa
0960: 6e 20 63 6c 61 73 73 3d 22 63 75 72 72 73 79 6d  n class="currsym
0970: 62 6f 6c 22 3e 71 75 6f 74 65 64 3c 2f 73 70 61  bol">quoted</spa
0980: 6e 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c  n>..<script>expl
0990: 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64  orer.outline.add
09a0: 44 65 63 6c 28 27 71 75 6f 74 65 64 27 29 3b 3c  Decl('quoted');<
09b0: 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a 22 20 74 6f  /script>...." to
09c0: 6b 65 6e 20 6f 72 20 75 6e 71 75 6f 74 65 64 3f  ken or unquoted?
09d0: 3c 62 72 3e 3c 62 72 3e 0d 0a 0d 0a 3c 2f 64 64  <br><br>....</dd
09e0: 3e 0d 0a 3c 2f 64 6c 3e 0d 0a 3c 73 63 72 69 70  >..</dl>..<scrip
09f0: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
0a00: 6e 65 2e 64 65 63 53 79 6d 62 6f 6c 4c 65 76 65  ne.decSymbolLeve
0a10: 6c 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d  l();</script>...
0a20: 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63 72  ...</dd>....<scr
0a30: 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74  ipt>explorer.out
0a40: 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65  line.writeEnable
0a50: 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69 70  d = true;</scrip
0a60: 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63 6c  t>..<dt><span cl
0a70: 61 73 73 3d 22 64 65 63 6c 22 3e 4c 65 78 65 72  ass="decl">Lexer
0a80: 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22   ..<span class="
0a90: 63 75 72 72 73 79 6d 62 6f 6c 22 3e 6c 65 78 65  currsymbol">lexe
0aa0: 72 46 72 6f 6d 46 69 6c 65 3c 2f 73 70 61 6e 3e  rFromFile</span>
0ab0: 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72  ..<script>explor
0ac0: 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44 65  er.outline.addDe
0ad0: 63 6c 28 27 6c 65 78 65 72 46 72 6f 6d 46 69 6c  cl('lexerFromFil
0ae0: 65 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d  e');</script>...
0af0: 0a 28 54 2e 2e 2e 29 28 73 74 72 69 6e 67 20 3c  .(T...)(string <
0b00: 73 70 61 6e 20 63 6c 61 73 73 3d 22 66 75 6e 63  span class="func
0b10: 70 61 72 61 6d 22 3e 66 69 6c 65 6e 61 6d 65 3c  param">filename<
0b20: 2f 73 70 61 6e 3e 2c 20 54 20 3c 73 70 61 6e 20  /span>, T <span 
0b30: 63 6c 61 73 73 3d 22 66 75 6e 63 70 61 72 61 6d  class="funcparam
0b40: 22 3e 6c 6e 5f 63 6e 3c 2f 73 70 61 6e 3e 29 3b  ">ln_cn</span>);
0b50: 0d 0a 3c 2f 73 70 61 6e 3e 3c 2f 64 74 3e 0d 0a  ..</span></dt>..
0b60: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
0b70: 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e  .outline.writeEn
0b80: 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 3c 2f  abled = false;</
0b90: 73 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64  script>......<dd
0ba0: 3e 4e 61 6d 65 64 20 43 6f 6e 73 74 72 75 74 6f  >Named Construto
0bb0: 72 73 20 66 6f 72 20 4c 65 78 65 72 3c 62 72 3e  rs for Lexer<br>
0bc0: 3c 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d  <br>....</dd>...
0bd0: 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65  .<script>explore
0be0: 72 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45  r.outline.writeE
0bf0: 6e 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f  nabled = true;</
0c00: 73 63 72 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70  script>..<dt><sp
0c10: 61 6e 20 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e  an class="decl">
0c20: 4c 65 78 65 72 54 21 28 50 6f 73 69 74 69 6f 6e  LexerT!(Position
0c30: 65 64 52 65 61 64 65 72 21 28 43 68 61 72 53 65  edReader!(CharSe
0c40: 71 29 29 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73  q)) ..<span clas
0c50: 73 3d 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e 6c  s="currsymbol">l
0c60: 65 78 65 72 46 72 6f 6d 53 74 72 69 6e 67 3c 2f  exerFromString</
0c70: 73 70 61 6e 3e 0d 0a 3c 73 63 72 69 70 74 3e 65  span>..<script>e
0c80: 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e  xplorer.outline.
0c90: 61 64 64 44 65 63 6c 28 27 6c 65 78 65 72 46 72  addDecl('lexerFr
0ca0: 6f 6d 53 74 72 69 6e 67 27 29 3b 3c 2f 73 63 72  omString');</scr
0cb0: 69 70 74 3e 0d 0a 0d 0a 28 43 68 61 72 53 65 71  ipt>....(CharSeq
0cc0: 29 28 43 68 61 72 53 65 71 20 3c 73 70 61 6e 20  )(CharSeq <span 
0cd0: 63 6c 61 73 73 3d 22 66 75 6e 63 70 61 72 61 6d  class="funcparam
0ce0: 22 3e 73 74 72 3c 2f 73 70 61 6e 3e 2c 20 73 74  ">str</span>, st
0cf0: 72 69 6e 67 20 3c 73 70 61 6e 20 63 6c 61 73 73  ring <span class
0d00: 3d 22 66 75 6e 63 70 61 72 61 6d 22 3e 66 69 6c  ="funcparam">fil
0d10: 65 6e 61 6d 65 3c 2f 73 70 61 6e 3e 20 3d 20 22  ename</span> = "
0d20: 26 6c 74 3b 75 6e 6e 61 6d 65 64 26 67 74 3b 22  &lt;unnamed&gt;"
0d30: 2c 20 69 6e 74 20 3c 73 70 61 6e 20 63 6c 61 73  , int <span clas
0d40: 73 3d 22 66 75 6e 63 70 61 72 61 6d 22 3e 6c 69  s="funcparam">li
0d50: 6e 65 6e 6f 3c 2f 73 70 61 6e 3e 20 3d 20 31 2c  neno</span> = 1,
0d60: 20 69 6e 74 20 3c 73 70 61 6e 20 63 6c 61 73 73   int <span class
0d70: 3d 22 66 75 6e 63 70 61 72 61 6d 22 3e 63 6f 6c  ="funcparam">col
0d80: 75 6d 6e 3c 2f 73 70 61 6e 3e 20 3d 20 31 29 3b  umn</span> = 1);
0d90: 0d 0a 3c 2f 73 70 61 6e 3e 3c 2f 64 74 3e 0d 0a  ..</span></dt>..
0da0: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
0db0: 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e  .outline.writeEn
0dc0: 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 3c 2f  abled = false;</
0dd0: 73 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64  script>......<dd
0de0: 3e 4e 61 6d 65 64 20 43 6f 6e 73 74 72 75 74 6f  >Named Construto
0df0: 72 20 66 6f 72 20 4c 65 78 65 72 3c 62 72 3e 3c  r for Lexer<br><
0e00: 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a  br>....</dd>....
0e10: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
0e20: 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e  .outline.writeEn
0e30: 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73  abled = true;</s
0e40: 63 72 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61  cript>..<dt><spa
0e50: 6e 20 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e 61  n class="decl">a
0e60: 6c 69 61 73 20 0d 0a 3c 73 70 61 6e 20 63 6c 61  lias ..<span cla
0e70: 73 73 3d 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e  ss="currsymbol">
0e80: 4c 65 78 65 72 3c 2f 73 70 61 6e 3e 0d 0a 3c 73  Lexer</span>..<s
0e90: 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f  cript>explorer.o
0ea0: 75 74 6c 69 6e 65 2e 61 64 64 44 65 63 6c 28 27  utline.addDecl('
0eb0: 4c 65 78 65 72 27 29 3b 3c 2f 73 63 72 69 70 74  Lexer');</script
0ec0: 3e 0d 0a 0d 0a 3b 0d 0a 3c 2f 73 70 61 6e 3e 3c  >....;..</span><
0ed0: 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78  /dt>..<script>ex
0ee0: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77  plorer.outline.w
0ef0: 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 66 61  riteEnabled = fa
0f00: 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d  lse;</script>...
0f10: 0a 0d 0a 3c 64 64 3e 53 74 61 6e 64 61 72 64 20  ...<dd>Standard 
0f20: 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 63  ..<span class="c
0f30: 75 72 72 73 79 6d 62 6f 6c 22 3e 4c 65 78 65 72  urrsymbol">Lexer
0f40: 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69 70 74  </span>..<script
0f50: 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e  >explorer.outlin
0f60: 65 2e 61 64 64 44 65 63 6c 28 27 4c 65 78 65 72  e.addDecl('Lexer
0f70: 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a  ');</script>....
0f80: 20 54 79 70 65 20 28 61 6c 6c 20 79 6f 75 20 68   Type (all you h
0f90: 61 76 65 20 74 6f 20 6b 6e 6f 77 20 69 73 20 74  ave to know is t
0fa0: 68 61 74 20 74 68 69 73 20 69 73 20 61 20 66 6f  hat this is a fo
0fb0: 72 77 61 72 64 20 72 61 6e 67 65 20 6f 66 20 54  rward range of T
0fc0: 6f 6b 65 6e 73 21 29 3c 62 72 3e 3c 62 72 3e 0d  okens!)<br><br>.
0fd0: 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63 72  ...</dd>....<scr
0fe0: 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74  ipt>explorer.out
0ff0: 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65  line.writeEnable
1000: 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69 70  d = true;</scrip
1010: 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63 6c  t>..<dt><span cl
1020: 61 73 73 3d 22 64 65 63 6c 22 3e 63 6c 61 73 73  ass="decl">class
1030: 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22   ..<span class="
1040: 63 75 72 72 73 79 6d 62 6f 6c 22 3e 4c 65 78 65  currsymbol">Lexe
1050: 72 54 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69  rT</span>..<scri
1060: 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c  pt>explorer.outl
1070: 69 6e 65 2e 61 64 64 44 65 63 6c 28 27 4c 65 78  ine.addDecl('Lex
1080: 65 72 54 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d  erT');</script>.
1090: 0a 0d 0a 28 52 65 61 64 65 72 29 20 69 66 20 28  ...(Reader) if (
10a0: 69 73 46 6f 72 77 61 72 64 52 61 6e 67 65 21 28  isForwardRange!(
10b0: 52 65 61 64 65 72 29 20 26 61 6d 70 3b 26 61 6d  Reader) &amp;&am
10c0: 70 3b 20 69 73 28 45 6c 65 6d 65 6e 74 54 79 70  p; is(ElementTyp
10d0: 65 21 28 52 65 61 64 65 72 29 20 3d 3d 20 64 63  e!(Reader) == dc
10e0: 68 61 72 29 29 3b 0d 0a 3c 2f 73 70 61 6e 3e 3c  har));..</span><
10f0: 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78  /dt>..<script>ex
1100: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77  plorer.outline.w
1110: 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 66 61  riteEnabled = fa
1120: 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d  lse;</script>...
1130: 0a 0d 0a 3c 64 64 3e 4c 65 78 65 72 20 49 6d 70  ...<dd>Lexer Imp
1140: 6c 65 6d 65 6e 74 61 74 69 6f 6e 3c 62 72 3e 3c  lementation<br><
1150: 62 72 3e 0d 0a 0d 0a 0d 0a 3c 73 63 72 69 70 74  br>......<script
1160: 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e  >explorer.outlin
1170: 65 2e 69 6e 63 53 79 6d 62 6f 6c 4c 65 76 65 6c  e.incSymbolLevel
1180: 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 64  ();</script>..<d
1190: 6c 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c  l>..<script>expl
11a0: 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77 72 69  orer.outline.wri
11b0: 74 65 45 6e 61 62 6c 65 64 20 3d 20 74 72 75 65  teEnabled = true
11c0: 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 64 74 3e  ;</script>..<dt>
11d0: 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 64 65 63  <span class="dec
11e0: 6c 22 3e 62 6f 6f 6c 20 0d 0a 3c 73 70 61 6e 20  l">bool ..<span 
11f0: 63 6c 61 73 73 3d 22 63 75 72 72 73 79 6d 62 6f  class="currsymbo
1200: 6c 22 3e 65 6d 70 74 79 3c 2f 73 70 61 6e 3e 0d  l">empty</span>.
1210: 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65  .<script>explore
1220: 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44 65 63  r.outline.addDec
1230: 6c 28 27 65 6d 70 74 79 27 29 3b 3c 2f 73 63 72  l('empty');</scr
1240: 69 70 74 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73  ipt>....();..</s
1250: 70 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69  pan></dt>..<scri
1260: 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c  pt>explorer.outl
1270: 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64  ine.writeEnabled
1280: 20 3d 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70   = false;</scrip
1290: 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67  t>......<dd>Rang
12a0: 65 20 70 72 69 6d 69 74 69 76 65 3c 62 72 3e 3c  e primitive<br><
12b0: 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a  br>....</dd>....
12c0: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
12d0: 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e  .outline.writeEn
12e0: 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73  abled = true;</s
12f0: 63 72 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61  cript>..<dt><spa
1300: 6e 20 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e 54  n class="decl">T
1310: 6f 6b 65 6e 20 0d 0a 3c 73 70 61 6e 20 63 6c 61  oken ..<span cla
1320: 73 73 3d 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e  ss="currsymbol">
1330: 66 72 6f 6e 74 3c 2f 73 70 61 6e 3e 0d 0a 3c 73  front</span>..<s
1340: 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f  cript>explorer.o
1350: 75 74 6c 69 6e 65 2e 61 64 64 44 65 63 6c 28 27  utline.addDecl('
1360: 66 72 6f 6e 74 27 29 3b 3c 2f 73 63 72 69 70 74  front');</script
1370: 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61 6e  >....();..</span
1380: 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e  ></dt>..<script>
1390: 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65  explorer.outline
13a0: 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20  .writeEnabled = 
13b0: 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d  false;</script>.
13c0: 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67 65 20 70  .....<dd>Range p
13d0: 72 69 6d 69 74 69 76 65 3c 62 72 3e 3c 62 72 3e  rimitive<br><br>
13e0: 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63  ....</dd>....<sc
13f0: 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75  ript>explorer.ou
1400: 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c  tline.writeEnabl
1410: 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69  ed = true;</scri
1420: 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63  pt>..<dt><span c
1430: 6c 61 73 73 3d 22 64 65 63 6c 22 3e 76 6f 69 64  lass="decl">void
1440: 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22   ..<span class="
1450: 63 75 72 72 73 79 6d 62 6f 6c 22 3e 70 6f 70 46  currsymbol">popF
1460: 72 6f 6e 74 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63  ront</span>..<sc
1470: 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75  ript>explorer.ou
1480: 74 6c 69 6e 65 2e 61 64 64 44 65 63 6c 28 27 70  tline.addDecl('p
1490: 6f 70 46 72 6f 6e 74 27 29 3b 3c 2f 73 63 72 69  opFront');</scri
14a0: 70 74 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70  pt>....();..</sp
14b0: 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70  an></dt>..<scrip
14c0: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
14d0: 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20  ne.writeEnabled 
14e0: 3d 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74  = false;</script
14f0: 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67 65  >......<dd>Range
1500: 20 70 72 69 6d 69 74 69 76 65 3c 62 72 3e 3c 62   primitive<br><b
1510: 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c  r>....</dd>....<
1520: 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e  script>explorer.
1530: 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61  outline.writeEna
1540: 62 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63  bled = true;</sc
1550: 72 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e  ript>..<dt><span
1560: 20 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e 74 79   class="decl">ty
1570: 70 65 6f 66 28 74 68 69 73 29 20 0d 0a 3c 73 70  peof(this) ..<sp
1580: 61 6e 20 63 6c 61 73 73 3d 22 63 75 72 72 73 79  an class="currsy
1590: 6d 62 6f 6c 22 3e 73 61 76 65 3c 2f 73 70 61 6e  mbol">save</span
15a0: 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f  >..<script>explo
15b0: 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44  rer.outline.addD
15c0: 65 63 6c 28 27 73 61 76 65 27 29 3b 3c 2f 73 63  ecl('save');</sc
15d0: 72 69 70 74 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f  ript>....();..</
15e0: 73 70 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72  span></dt>..<scr
15f0: 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74  ipt>explorer.out
1600: 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65  line.writeEnable
1610: 64 20 3d 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69  d = false;</scri
1620: 70 74 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e  pt>......<dd>Ran
1630: 67 65 20 70 72 69 6d 69 74 69 76 65 3c 62 72 3e  ge primitive<br>
1640: 3c 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 3c  <br>....</dd>..<
1650: 2f 64 6c 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78  /dl>..<script>ex
1660: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 64  plorer.outline.d
1670: 65 63 53 79 6d 62 6f 6c 4c 65 76 65 6c 28 29 3b  ecSymbolLevel();
1680: 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a 0d 0a 3c  </script>......<
1690: 2f 64 64 3e 0d 0a 0d 0a 3c 73 63 72 69 70 74 3e  /dd>....<script>
16a0: 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65  explorer.outline
16b0: 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20  .writeEnabled = 
16c0: 74 72 75 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a  true;</script>..
16d0: 3c 64 74 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d  <dt><span class=
16e0: 22 64 65 63 6c 22 3e 73 74 72 75 63 74 20 0d 0a  "decl">struct ..
16f0: 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 63 75 72  <span class="cur
1700: 72 73 79 6d 62 6f 6c 22 3e 50 6f 73 69 74 69 6f  rsymbol">Positio
1710: 6e 65 64 52 65 61 64 65 72 3c 2f 73 70 61 6e 3e  nedReader</span>
1720: 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72  ..<script>explor
1730: 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44 65  er.outline.addDe
1740: 63 6c 28 27 50 6f 73 69 74 69 6f 6e 65 64 52 65  cl('PositionedRe
1750: 61 64 65 72 27 29 3b 3c 2f 73 63 72 69 70 74 3e  ader');</script>
1760: 0d 0a 0d 0a 28 43 68 61 72 53 65 71 29 20 69 66  ....(CharSeq) if
1770: 20 28 69 73 46 6f 72 77 61 72 64 52 61 6e 67 65   (isForwardRange
1780: 21 28 43 68 61 72 53 65 71 29 20 26 61 6d 70 3b  !(CharSeq) &amp;
1790: 26 61 6d 70 3b 20 69 73 28 45 6c 65 6d 65 6e 74  &amp; is(Element
17a0: 54 79 70 65 21 28 43 68 61 72 53 65 71 29 20 3d  Type!(CharSeq) =
17b0: 3d 20 64 63 68 61 72 29 29 3b 0d 0a 3c 2f 73 70  = dchar));..</sp
17c0: 61 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70  an></dt>..<scrip
17d0: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
17e0: 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20  ne.writeEnabled 
17f0: 3d 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74  = false;</script
1800: 3e 0d 0a 0d 0a 0d 0a 3c 64 64 3e 46 6f 72 77 61  >......<dd>Forwa
1810: 72 64 20 72 61 6e 67 65 20 66 6f 72 20 72 65 61  rd range for rea
1820: 64 65 72 20 63 68 61 72 61 63 74 65 72 20 62 79  der character by
1830: 20 63 68 61 72 61 63 74 65 72 2c 0d 0a 20 6b 65   character,.. ke
1840: 65 70 69 6e 67 20 74 72 61 63 6b 20 6f 66 20 70  eping track of p
1850: 6f 73 69 74 69 6f 6e 20 69 6e 66 6f 72 6d 61 74  osition informat
1860: 69 6f 6e 20 61 6e 64 20 63 61 72 69 6e 67 20 5c  ion and caring \
1870: 72 5c 6e 20 2d 26 67 74 3b 20 5c 6e 20 63 6f 6e  r\n -&gt; \n con
1880: 76 65 72 73 69 6f 6e 2e 3c 62 72 3e 3c 62 72 3e  version.<br><br>
1890: 0d 0a 0d 0a 0d 0a 3c 73 63 72 69 70 74 3e 65 78  ......<script>ex
18a0: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 69  plorer.outline.i
18b0: 6e 63 53 79 6d 62 6f 6c 4c 65 76 65 6c 28 29 3b  ncSymbolLevel();
18c0: 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 64 6c 3e 0d  </script>..<dl>.
18d0: 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65  .<script>explore
18e0: 72 2e 6f 75 74 6c 69 6e 65 2e 77 72 69 74 65 45  r.outline.writeE
18f0: 6e 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f  nabled = true;</
1900: 73 63 72 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70  script>..<dt><sp
1910: 61 6e 20 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e  an class="decl">
1920: 62 6f 6f 6c 20 0d 0a 3c 73 70 61 6e 20 63 6c 61  bool ..<span cla
1930: 73 73 3d 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e  ss="currsymbol">
1940: 65 6d 70 74 79 3c 2f 73 70 61 6e 3e 0d 0a 3c 73  empty</span>..<s
1950: 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f  cript>explorer.o
1960: 75 74 6c 69 6e 65 2e 61 64 64 44 65 63 6c 28 27  utline.addDecl('
1970: 65 6d 70 74 79 27 29 3b 3c 2f 73 63 72 69 70 74  empty');</script
1980: 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61 6e  >....();..</span
1990: 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e  ></dt>..<script>
19a0: 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65  explorer.outline
19b0: 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20  .writeEnabled = 
19c0: 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d  false;</script>.
19d0: 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67 65 20 70  .....<dd>Range p
19e0: 72 69 6d 69 74 69 76 65 3c 62 72 3e 3c 62 72 3e  rimitive<br><br>
19f0: 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63  ....</dd>....<sc
1a00: 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75  ript>explorer.ou
1a10: 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c  tline.writeEnabl
1a20: 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69  ed = true;</scri
1a30: 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63  pt>..<dt><span c
1a40: 6c 61 73 73 3d 22 64 65 63 6c 22 3e 64 63 68 61  lass="decl">dcha
1a50: 72 20 0d 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d  r ..<span class=
1a60: 22 63 75 72 72 73 79 6d 62 6f 6c 22 3e 66 72 6f  "currsymbol">fro
1a70: 6e 74 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69  nt</span>..<scri
1a80: 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c  pt>explorer.outl
1a90: 69 6e 65 2e 61 64 64 44 65 63 6c 28 27 66 72 6f  ine.addDecl('fro
1aa0: 6e 74 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a  nt');</script>..
1ab0: 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61 6e 3e 3c 2f  ..();..</span></
1ac0: 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70  dt>..<script>exp
1ad0: 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77 72  lorer.outline.wr
1ae0: 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 66 61 6c  iteEnabled = fal
1af0: 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a  se;</script>....
1b00: 0d 0a 3c 64 64 3e 52 61 6e 67 65 20 70 72 69 6d  ..<dd>Range prim
1b10: 69 74 69 76 65 3c 62 72 3e 3c 62 72 3e 0d 0a 0d  itive<br><br>...
1b20: 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63 72 69 70  .</dd>....<scrip
1b30: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
1b40: 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20  ne.writeEnabled 
1b50: 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69 70 74 3e  = true;</script>
1b60: 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63 6c 61 73  ..<dt><span clas
1b70: 73 3d 22 64 65 63 6c 22 3e 76 6f 69 64 20 0d 0a  s="decl">void ..
1b80: 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 63 75 72  <span class="cur
1b90: 72 73 79 6d 62 6f 6c 22 3e 70 6f 70 46 72 6f 6e  rsymbol">popFron
1ba0: 74 3c 2f 73 70 61 6e 3e 0d 0a 3c 73 63 72 69 70  t</span>..<scrip
1bb0: 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69  t>explorer.outli
1bc0: 6e 65 2e 61 64 64 44 65 63 6c 28 27 70 6f 70 46  ne.addDecl('popF
1bd0: 72 6f 6e 74 27 29 3b 3c 2f 73 63 72 69 70 74 3e  ront');</script>
1be0: 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61 6e 3e  ....();..</span>
1bf0: 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e 65  </dt>..<script>e
1c00: 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e  xplorer.outline.
1c10: 77 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 66  writeEnabled = f
1c20: 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a  alse;</script>..
1c30: 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67 65 20 70 72  ....<dd>Range pr
1c40: 69 6d 69 74 69 76 65 3c 62 72 3e 3c 62 72 3e 0d  imitive<br><br>.
1c50: 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73 63 72  ...</dd>....<scr
1c60: 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74  ipt>explorer.out
1c70: 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62 6c 65  line.writeEnable
1c80: 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72 69 70  d = true;</scrip
1c90: 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20 63 6c  t>..<dt><span cl
1ca0: 61 73 73 3d 22 64 65 63 6c 22 3e 74 79 70 65 6f  ass="decl">typeo
1cb0: 66 28 74 68 69 73 29 20 0d 0a 3c 73 70 61 6e 20  f(this) ..<span 
1cc0: 63 6c 61 73 73 3d 22 63 75 72 72 73 79 6d 62 6f  class="currsymbo
1cd0: 6c 22 3e 73 61 76 65 3c 2f 73 70 61 6e 3e 0d 0a  l">save</span>..
1ce0: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
1cf0: 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44 65 63 6c  .outline.addDecl
1d00: 28 27 73 61 76 65 27 29 3b 3c 2f 73 63 72 69 70  ('save');</scrip
1d10: 74 3e 0d 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61  t>....();..</spa
1d20: 6e 3e 3c 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74  n></dt>..<script
1d30: 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e  >explorer.outlin
1d40: 65 2e 77 72 69 74 65 45 6e 61 62 6c 65 64 20 3d  e.writeEnabled =
1d50: 20 66 61 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e   false;</script>
1d60: 0d 0a 0d 0a 0d 0a 3c 64 64 3e 52 61 6e 67 65 20  ......<dd>Range 
1d70: 70 72 69 6d 69 74 69 76 65 3c 62 72 3e 3c 62 72  primitive<br><br
1d80: 3e 0d 0a 0d 0a 3c 2f 64 64 3e 0d 0a 0d 0a 3c 73  >....</dd>....<s
1d90: 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72 2e 6f  cript>explorer.o
1da0: 75 74 6c 69 6e 65 2e 77 72 69 74 65 45 6e 61 62  utline.writeEnab
1db0: 6c 65 64 20 3d 20 74 72 75 65 3b 3c 2f 73 63 72  led = true;</scr
1dc0: 69 70 74 3e 0d 0a 3c 64 74 3e 3c 73 70 61 6e 20  ipt>..<dt><span 
1dd0: 63 6c 61 73 73 3d 22 64 65 63 6c 22 3e 63 6f 6e  class="decl">con
1de0: 73 74 20 4c 65 78 50 6f 73 69 74 69 6f 6e 20 0d  st LexPosition .
1df0: 0a 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 63 75  .<span class="cu
1e00: 72 72 73 79 6d 62 6f 6c 22 3e 63 75 72 72 65 6e  rrsymbol">curren
1e10: 74 50 6f 73 69 74 69 6f 6e 3c 2f 73 70 61 6e 3e  tPosition</span>
1e20: 0d 0a 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72  ..<script>explor
1e30: 65 72 2e 6f 75 74 6c 69 6e 65 2e 61 64 64 44 65  er.outline.addDe
1e40: 63 6c 28 27 63 75 72 72 65 6e 74 50 6f 73 69 74  cl('currentPosit
1e50: 69 6f 6e 27 29 3b 3c 2f 73 63 72 69 70 74 3e 0d  ion');</script>.
1e60: 0a 0d 0a 28 29 3b 0d 0a 3c 2f 73 70 61 6e 3e 3c  ...();..</span><
1e70: 2f 64 74 3e 0d 0a 3c 73 63 72 69 70 74 3e 65 78  /dt>..<script>ex
1e80: 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e 65 2e 77  plorer.outline.w
1e90: 72 69 74 65 45 6e 61 62 6c 65 64 20 3d 20 66 61  riteEnabled = fa
1ea0: 6c 73 65 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d  lse;</script>...
1eb0: 0a 0d 0a 3c 64 64 3e 47 65 74 20 74 68 65 20 63  ...<dd>Get the c
1ec0: 75 72 72 65 6e 74 20 70 6f 73 69 74 69 6f 6e 3c  urrent position<
1ed0: 62 72 3e 3c 62 72 3e 0d 0a 0d 0a 3c 2f 64 64 3e  br><br>....</dd>
1ee0: 0d 0a 3c 2f 64 6c 3e 0d 0a 3c 73 63 72 69 70 74  ..</dl>..<script
1ef0: 3e 65 78 70 6c 6f 72 65 72 2e 6f 75 74 6c 69 6e  >explorer.outlin
1f00: 65 2e 64 65 63 53 79 6d 62 6f 6c 4c 65 76 65 6c  e.decSymbolLevel
1f10: 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 0d 0a  ();</script>....
1f20: 0d 0a 3c 2f 64 64 3e 0d 0a 3c 2f 64 6c 3e 0d 0a  ..</dd>..</dl>..
1f30: 3c 73 63 72 69 70 74 3e 65 78 70 6c 6f 72 65 72  <script>explorer
1f40: 2e 6f 75 74 6c 69 6e 65 2e 64 65 63 53 79 6d 62  .outline.decSymb
1f50: 6f 6c 4c 65 76 65 6c 28 29 3b 3c 2f 73 63 72 69  olLevel();</scri
1f60: 70 74 3e 0d 0a 0d 0a 0d 0a 3c 2f 74 64 3e 3c 2f  pt>......</td></
1f70: 74 72 3e 0d 0a 09 09 3c 74 72 3e 3c 74 64 20 69  tr>....<tr><td i
1f80: 64 3d 22 64 6f 63 66 6f 6f 74 65 72 22 3e 0d 0a  d="docfooter">..
1f90: 09 09 09 50 61 67 65 20 77 61 73 20 67 65 6e 65  ...Page was gene
1fa0: 72 61 74 65 64 20 77 69 74 68 0d 0a 09 09 09 3c  rated with.....<
1fb0: 69 6d 67 20 73 72 63 3d 22 63 61 6e 64 79 64 6f  img src="candydo
1fc0: 63 2f 69 6d 67 2f 63 61 6e 64 79 64 6f 63 2e 67  c/img/candydoc.g
1fd0: 69 66 22 20 73 74 79 6c 65 3d 22 76 65 72 74 69  if" style="verti
1fe0: 63 61 6c 2d 61 6c 69 67 6e 3a 6d 69 64 64 6c 65  cal-align:middle
1ff0: 3b 20 70 6f 73 69 74 69 6f 6e 3a 72 65 6c 61 74  ; position:relat
2000: 69 76 65 3b 20 74 6f 70 3a 2d 31 70 78 22 3e 0d  ive; top:-1px">.
2010: 0a 09 09 09 6f 6e 20 54 75 65 20 4e 6f 76 20 33  ....on Tue Nov 3
2020: 30 20 31 30 3a 32 33 3a 31 32 20 32 30 31 30 0d  0 10:23:12 2010.
2030: 0a 0d 0a 09 09 3c 2f 74 64 3e 3c 2f 74 72 3e 0d  .....</td></tr>.
2040: 0a 09 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 2f 64 69  ..</table>..</di
2050: 76 3e 0d 0a 3c 73 63 72 69 70 74 3e 0d 0a 09 65  v>..<script>...e
2060: 78 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65 45  xplorer.packageE
2070: 78 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c  xplorer.addModul
2080: 65 28 22 69 6e 64 65 78 22 29 3b 0d 0a 09 65 78  e("index");...ex
2090: 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65 45 78  plorer.packageEx
20a0: 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c 65  plorer.addModule
20b0: 28 22 6d 61 69 6e 22 29 3b 0d 0a 09 65 78 70 6c  ("main");...expl
20c0: 6f 72 65 72 2e 70 61 63 6b 61 67 65 45 78 70 6c  orer.packageExpl
20d0: 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c 65 28 22  orer.addModule("
20e0: 74 72 69 63 6b 73 2e 74 72 69 63 6b 73 22 29 3b  tricks.tricks");
20f0: 0d 0a 09 65 78 70 6c 6f 72 65 72 2e 70 61 63 6b  ...explorer.pack
2100: 61 67 65 45 78 70 6c 6f 72 65 72 2e 61 64 64 4d  ageExplorer.addM
2110: 6f 64 75 6c 65 28 22 74 72 69 63 6b 73 2e 74 65  odule("tricks.te
2120: 73 74 22 29 3b 0d 0a 09 65 78 70 6c 6f 72 65 72  st");...explorer
2130: 2e 70 61 63 6b 61 67 65 45 78 70 6c 6f 72 65 72  .packageExplorer
2140: 2e 61 64 64 4d 6f 64 75 6c 65 28 22 70 6f 6c 65  .addModule("pole
2150: 6d 79 2e 5f 63 6f 6d 6d 6f 6e 22 29 3b 0d 0a 09  my._common");...
2160: 65 78 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65  explorer.package
2170: 45 78 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75  Explorer.addModu
2180: 6c 65 28 22 70 6f 6c 65 6d 79 2e 66 61 69 6c 75  le("polemy.failu
2190: 72 65 22 29 3b 0d 0a 09 65 78 70 6c 6f 72 65 72  re");...explorer
21a0: 2e 70 61 63 6b 61 67 65 45 78 70 6c 6f 72 65 72  .packageExplorer
21b0: 2e 61 64 64 4d 6f 64 75 6c 65 28 22 70 6f 6c 65  .addModule("pole
21c0: 6d 79 2e 6c 61 79 65 72 22 29 3b 0d 0a 09 65 78  my.layer");...ex
21d0: 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65 45 78  plorer.packageEx
21e0: 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c 65  plorer.addModule
21f0: 28 22 70 6f 6c 65 6d 79 2e 66 72 65 73 68 22 29  ("polemy.fresh")
2200: 3b 0d 0a 09 65 78 70 6c 6f 72 65 72 2e 70 61 63  ;...explorer.pac
2210: 6b 61 67 65 45 78 70 6c 6f 72 65 72 2e 61 64 64  kageExplorer.add
2220: 4d 6f 64 75 6c 65 28 22 70 6f 6c 65 6d 79 2e 6c  Module("polemy.l
2230: 65 78 22 29 3b 0d 0a 09 65 78 70 6c 6f 72 65 72  ex");...explorer
2240: 2e 70 61 63 6b 61 67 65 45 78 70 6c 6f 72 65 72  .packageExplorer
2250: 2e 61 64 64 4d 6f 64 75 6c 65 28 22 70 6f 6c 65  .addModule("pole
2260: 6d 79 2e 70 61 72 73 65 22 29 3b 0d 0a 09 65 78  my.parse");...ex
2270: 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65 45 78  plorer.packageEx
2280: 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c 65  plorer.addModule
2290: 28 22 70 6f 6c 65 6d 79 2e 61 73 74 22 29 3b 0d  ("polemy.ast");.
22a0: 0a 09 65 78 70 6c 6f 72 65 72 2e 70 61 63 6b 61  ..explorer.packa
22b0: 67 65 45 78 70 6c 6f 72 65 72 2e 61 64 64 4d 6f  geExplorer.addMo
22c0: 64 75 6c 65 28 22 70 6f 6c 65 6d 79 2e 76 61 6c  dule("polemy.val
22d0: 75 65 22 29 3b 0d 0a 09 65 78 70 6c 6f 72 65 72  ue");...explorer
22e0: 2e 70 61 63 6b 61 67 65 45 78 70 6c 6f 72 65 72  .packageExplorer
22f0: 2e 61 64 64 4d 6f 64 75 6c 65 28 22 70 6f 6c 65  .addModule("pole
2300: 6d 79 2e 76 61 6c 75 65 63 6f 6e 76 22 29 3b 0d  my.valueconv");.
2310: 0a 09 65 78 70 6c 6f 72 65 72 2e 70 61 63 6b 61  ..explorer.packa
2320: 67 65 45 78 70 6c 6f 72 65 72 2e 61 64 64 4d 6f  geExplorer.addMo
2330: 64 75 6c 65 28 22 70 6f 6c 65 6d 79 2e 65 76 61  dule("polemy.eva
2340: 6c 22 29 3b 0d 0a 09 65 78 70 6c 6f 72 65 72 2e  l");...explorer.
2350: 70 61 63 6b 61 67 65 45 78 70 6c 6f 72 65 72 2e  packageExplorer.
2360: 61 64 64 4d 6f 64 75 6c 65 28 22 70 6f 6c 65 6d  addModule("polem
2370: 79 2e 72 75 6e 74 69 6d 65 22 29 3b 0d 0a 09 65  y.runtime");...e
2380: 78 70 6c 6f 72 65 72 2e 70 61 63 6b 61 67 65 45  xplorer.packageE
2390: 78 70 6c 6f 72 65 72 2e 61 64 64 4d 6f 64 75 6c  xplorer.addModul
23a0: 65 28 22 70 6f 6c 65 6d 79 2e 72 65 70 6c 22 29  e("polemy.repl")
23b0: 3b 3c 2f 73 63 72 69 70 74 3e 0d 0a 3c 2f 62 6f  ;</script>..</bo
23c0: 64 79 3e 3c 2f 68 74 6d 6c 3e 0d 0a 0d 0a 0d 0a  dy></html>......