]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreterVirtual.h
no message
[bbtk.git] / kernel / src / bbtkInterpreterVirtual.h
index ac91b01419eb1ab3a41cfeb12961c277ce4ffb3c..aa0a983c20bb314cbcb5e04d8a736b9452e1f234 100644 (file)
@@ -327,11 +327,38 @@ namespace bbtk
          /// Constructor
          InterpreterVirtual();
          
+
+         void Init();
+
+         
+         /// Vector of names of open files with full path (as open)
+         std::vector<std::string> mFileName;
+
+         
+         /// Stores the current line number in each open file
+         std::vector<int> mLine;
+         
+         bool mThrow;
+
+         /// Are we in a command line context ?
+         bool mCommandLine;
+
+         
+         /// Vector of names of files which have been open 
+         /// before (and may closed then which are no more in mFileName)
+         /// with full path (as open)
+         std::vector<std::string> mFileNameHistory;
+
+         /// The user of  the interpreter (0 if none)
+         bbtk::InterpreterUser* mUser;
+  
+         /// The dictionnary of commands
+         CommandDictType mCommandDict;
+         
          
   private:
 
 
-    void Init();
 
     /// Opens the file fullPathScriptName 
     /// includeScriptName is the name as given to the include command 
@@ -342,31 +369,14 @@ namespace bbtk
     // ATTRIBUTES
 
 
-    /// The user of  the interpreter (0 if none)
-    bbtk::InterpreterUser* mUser;
 
     /// Vector of open files / buffers (can be stringstream)
     std::vector<std::istream*> mFile;
 
-    /// Vector of names of open files with full path (as open)
-    std::vector<std::string> mFileName;
-
-    /// Vector of names of files which have been open 
-    /// before (and may closed then which are no more in mFileName)
-    /// with full path (as open)
-    std::vector<std::string> mFileNameHistory;
 
     /// Vector of names of open files as given to the include command
     std::vector<std::string> mIncludeFileName;
 
-    /// Stores the current line number in each open file
-    std::vector<int> mLine;
-
-    /// The dictionnary of commands
-    CommandDictType mCommandDict;
-
-    /// Are we in a command line context ?
-    bool mCommandLine;
 
     /// Are we inside a commented-out zone ?
     bool mInsideComment;
@@ -379,7 +389,6 @@ namespace bbtk
 
     int bufferNb;
     
-    bool mThrow;
 
     /// The break signal
     //    BreakSignalType mBreakSignal;