changeset 532:50e64bab9c7a

Renamed InformationManager to InfoManager.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 17 Dec 2007 16:10:08 +0100
parents 315aeb3f7a9b
children 2a8d0ed0d71e
files trunk/src/dil/Converter.d trunk/src/dil/File.d trunk/src/dil/Information.d trunk/src/dil/Lexer.d trunk/src/dil/Module.d trunk/src/dil/Parser.d trunk/src/dil/Scope.d trunk/src/main.d
diffstat 8 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/dil/Converter.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Converter.d	Mon Dec 17 16:10:08 2007 +0100
@@ -14,9 +14,9 @@
 struct Converter
 {
   char[] filePath; /// For error messages.
-  InformationManager infoMan;
+  InfoManager infoMan;
 
-  static Converter opCall(char[] filePath, InformationManager infoMan)
+  static Converter opCall(char[] filePath, InfoManager infoMan)
   {
     Converter conv;
     conv.filePath = filePath;
--- a/trunk/src/dil/File.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/File.d	Mon Dec 17 16:10:08 2007 +0100
@@ -17,7 +17,7 @@
   return data2UTF8(cast(ubyte[]) (new File(filePath)).read());
 }
 
-char[] loadFile(char[] filePath, InformationManager infoMan)
+char[] loadFile(char[] filePath, InfoManager infoMan)
 {
   auto converter = Converter(filePath, infoMan);
   return converter.data2UTF8(cast(ubyte[]) (new File(filePath)).read());
--- a/trunk/src/dil/Information.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Information.d	Mon Dec 17 16:10:08 2007 +0100
@@ -14,7 +14,7 @@
 
 }
 
-class InformationManager
+class InfoManager
 {
   Information[] info;
 
--- a/trunk/src/dil/Lexer.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Lexer.d	Mon Dec 17 16:10:08 2007 +0100
@@ -35,7 +35,7 @@
   char* end;        /// Points one character past the end of the source text.
 
   // Members used for error messages:
-  InformationManager infoMan;
+  InfoManager infoMan;
   LexerError[] errors;
   /// Always points to the beginning of the current line.
   char* lineBegin;
@@ -51,7 +51,7 @@
       text     = the UTF-8 source code.
       filePath = the path to the source code; used for error messages.
   +/
-  this(string text, string filePath, InformationManager infoMan = null)
+  this(string text, string filePath, InfoManager infoMan = null)
   {
     this.filePath = this.errorPath = filePath;
     this.infoMan = infoMan;
--- a/trunk/src/dil/Module.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Module.d	Mon Dec 17 16:10:08 2007 +0100
@@ -33,7 +33,7 @@
 
   Module[] modules;
 
-  InformationManager infoMan;
+  InfoManager infoMan;
 
   this(string filePath, bool isLightweight = false)
   {
@@ -41,7 +41,7 @@
     this.isLightweight = isLightweight;
   }
 
-  this(string filePath, InformationManager infoMan)
+  this(string filePath, InfoManager infoMan)
   {
     this(filePath, false);
     this.infoMan = infoMan;
--- a/trunk/src/dil/Parser.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Parser.d	Mon Dec 17 16:10:08 2007 +0100
@@ -27,7 +27,7 @@
   Token* token; /// Current non-whitespace token.
   Token* prevToken; /// Previous non-whitespace token.
 
-  InformationManager infoMan;
+  InfoManager infoMan;
   ParserError[] errors;
 
   ImportDeclaration[] imports; /// ImportDeclarations in the source text.
@@ -46,7 +46,7 @@
       text     = the UTF-8 source code.
       filePath = the path to the source code; used for error messages.
   +/
-  this(char[] srcText, string filePath, InformationManager infoMan = null)
+  this(char[] srcText, string filePath, InfoManager infoMan = null)
   {
     this.infoMan = infoMan;
     lx = new Lexer(srcText, filePath, infoMan);
--- a/trunk/src/dil/Scope.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/dil/Scope.d	Mon Dec 17 16:10:08 2007 +0100
@@ -10,7 +10,7 @@
 class Scope
 {
   Scope parent; /// The surrounding scope.
-  InformationManager infoMan; /// Collects errors reported during the semantic phase.
+  InfoManager infoMan; /// Collects errors reported during the semantic phase.
 
   this()
   {
--- a/trunk/src/main.d	Mon Dec 17 13:23:52 2007 +0100
+++ b/trunk/src/main.d	Mon Dec 17 16:10:08 2007 +0100
@@ -39,7 +39,7 @@
     if (args.length < 2)
       return printHelp("compile");
 
-    auto infoMan = new InformationManager();
+    auto infoMan = new InfoManager();
     auto filePaths = args[2..$];
     foreach (filePath; filePaths)
     {