Mercurial > projects > dil
annotate trunk/src/Settings.d @ 798:c24be8d4f6ab
Added documentation comments.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 01 Mar 2008 02:53:06 +0100 |
parents | 8e6fed11bb68 |
children |
rev | line source |
---|---|
309 | 1 /++ |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
779
8e6fed11bb68
Moved Settings.d and SettingsLoader.d to src/.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
778
diff
changeset
|
5 module Settings; |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
368
diff
changeset
|
6 import common; |
309 | 7 |
778
78be32e3e157
Implemented conditional compilation.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
759
diff
changeset
|
8 /// Global application settings. |
309 | 9 struct GlobalSettings |
10 { | |
11 static: | |
778
78be32e3e157
Implemented conditional compilation.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
759
diff
changeset
|
12 /// Predefined version identifiers. |
78be32e3e157
Implemented conditional compilation.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
759
diff
changeset
|
13 string[] versionIds; |
513
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
14 /// Path to the language file. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
15 string langFile = "lang_en.d"; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
16 /// Language code of loaded messages catalogue. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
17 string langCode = "en"; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
18 /// Table of localized compiler messages. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
19 string[] messages; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
20 /// Array of import paths to look for modules. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
21 string[] importPaths; |
721
8955296dd807
Added ddoc_files option to config.d
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
520
diff
changeset
|
22 /// Array of DDoc macro file paths. |
8955296dd807
Added ddoc_files option to config.d
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
520
diff
changeset
|
23 string[] ddocFilePaths; |
798
c24be8d4f6ab
Added documentation comments.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
779
diff
changeset
|
24 string xmlMapFile = "xml_map.d"; /// XML map file. |
c24be8d4f6ab
Added documentation comments.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
779
diff
changeset
|
25 string htmlMapFile = "html_map.d"; /// HTML map file. |
c24be8d4f6ab
Added documentation comments.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
779
diff
changeset
|
26 string lexerErrorFormat = "{0}({1},{2})L: {3}"; /// Lexer error. |
c24be8d4f6ab
Added documentation comments.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
779
diff
changeset
|
27 string parserErrorFormat = "{0}({1},{2})P: {3}"; /// Parser error. |
c24be8d4f6ab
Added documentation comments.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
779
diff
changeset
|
28 string semanticErrorFormat = "{0}({1},{2})S: {3}"; /// Semantic error. |
309 | 29 } |