Mercurial > projects > dil
comparison trunk/src/html_map.d @ 796:f7688996bf08
Added member symbol to class Type.
Fixed html_map.d to IE6.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 29 Feb 2008 19:25:21 +0100 |
parents | 069317bb84cf |
children |
comparison
equal
deleted
inserted
replaced
795:069317bb84cf | 796:f7688996bf08 |
---|---|
1 /// A map of document elements and D tokens to format strings. | 1 /// A map of document elements and D tokens to format strings. |
2 string[string] map = [ | 2 string[string] map = [ |
3 "DocHead" : `<html>`\n | 3 "DocHead" : `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">`\n |
4 `<html>`\n | |
4 `<head>`\n | 5 `<head>`\n |
5 ` <meta http-equiv="Content-Type" content="text/html; charset=utf-8">`\n | 6 ` <meta http-equiv="Content-Type" content="text/html; charset=utf-8">`\n |
6 ` <link href="html.css" rel="stylesheet" type="text/css">`\n | 7 ` <link href="html.css" rel="stylesheet" type="text/css">`\n |
7 `</head>`\n | 8 `</head>`\n |
8 `<body>`\n | 9 `<body>`\n |
9 `<table><tr>`\n, | 10 `<table><tr>`\n, |
11 "CompBegin" : `<td><div class="compilerinfo">`\n, | |
12 "CompEnd" : "</div>\n</td></tr><tr>", | |
13 "LexerError" : `<p class="error L">{0}({1},{2})L: {3}</p>`\n, | |
14 "ParserError" : `<p class="error P">{0}({1},{2})P: {3}</p>`\n, | |
15 | |
16 "LineNumberBegin" : `<td class="linescolumn">`, | |
17 "LineNumberEnd" : "</td>\n<td>", | |
18 "LineNumber" : `<a id="L{0}" href="#L{0}">{0}</a>`, | |
19 | |
20 "SourceBegin" : `<td><pre class="sourcecode">`\n, | |
21 "SourceEnd" : "\n</pre></td>", | |
22 | |
10 "DocEnd" : "\n</tr></table>" | 23 "DocEnd" : "\n</tr></table>" |
11 "\n</body>" | 24 "\n</body>" |
12 "\n</html>", | 25 "\n</html>", |
13 "SourceBegin" : `<td><pre class="sourcecode">`, | |
14 "SourceEnd" : "\n</pre></td>", | |
15 "CompBegin" : `<div class="compilerinfo">`\n, | |
16 "CompEnd" : "</div>\n", | |
17 "LexerError" : `<p class="error L">{0}({1},{2})L: {3}</p>`\n, | |
18 "ParserError" : `<p class="error P">{0}({1},{2})P: {3}</p>`\n, | |
19 "LineNumberBegin" : `<td class="linescolumn">`, | |
20 "LineNumberEnd" : `</td><td>`, | |
21 "LineNumber" : `<a id="L{0}" href="#L{0}">{0}</a>`, | |
22 | 26 |
23 // Node categories: | 27 // Node categories: |
24 "Declaration" : "d", | 28 "Declaration" : "d", |
25 "Statement" : "s", | 29 "Statement" : "s", |
26 "Expression" : "e", | 30 "Expression" : "e", |