clang-format Design/*.h
diff --git a/SVIncCompil/Design/ClockingBlock.h b/SVIncCompil/Design/ClockingBlock.h
index 598ef5a..ec13e83 100644
--- a/SVIncCompil/Design/ClockingBlock.h
+++ b/SVIncCompil/Design/ClockingBlock.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   ClockingBlock.h
  * Author: alain
  *
@@ -28,24 +28,25 @@
 
 namespace SURELOG {
 
-
 class ClockingBlock {
-public:
-    ClockingBlock(FileContent* fileContent, NodeId blockId, NodeId clockingBlockId) : 
-       m_fileContent(fileContent), m_blockId(blockId),  m_clockingBlockId(clockingBlockId) {}
-       void addSignal(Signal& signal) { m_signals.push_back(signal); }
-    NodeId getNodeId() { return m_blockId; }
-    virtual ~ClockingBlock();
-    std::vector<Signal>& getAllSignals() { return m_signals; }
-private:
-    FileContent* m_fileContent; 
-    NodeId m_blockId;
-    NodeId m_clockingBlockId;
-    std::vector<Signal> m_signals;
+ public:
+  ClockingBlock(FileContent* fileContent, NodeId blockId,
+                NodeId clockingBlockId)
+      : m_fileContent(fileContent),
+        m_blockId(blockId),
+        m_clockingBlockId(clockingBlockId) {}
+  void addSignal(Signal& signal) { m_signals.push_back(signal); }
+  NodeId getNodeId() { return m_blockId; }
+  virtual ~ClockingBlock();
+  std::vector<Signal>& getAllSignals() { return m_signals; }
+
+ private:
+  FileContent* m_fileContent;
+  NodeId m_blockId;
+  NodeId m_clockingBlockId;
+  std::vector<Signal> m_signals;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* CLOCKINGBLOCK_H */
-
-
diff --git a/SVIncCompil/Design/DataType.h b/SVIncCompil/Design/DataType.h
index 3c70310..5b3e6c8 100644
--- a/SVIncCompil/Design/DataType.h
+++ b/SVIncCompil/Design/DataType.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   DataType.h
  * Author: alain
  *
@@ -25,66 +25,70 @@
 #define DATATYPE_H
 
 namespace SURELOG {
-    class FileContent;
-    class Value;
-    class DataType {
-    public:
-        DataType() : m_fileContent(NULL), m_id(0), m_name(""), m_definition(NULL), m_is_parameter(false) {}
-        DataType(FileContent* fC, NodeId id, std::string name, VObjectType type, bool isParameter = false) : 
-             m_fileContent(fC), m_id(id), m_name(name), m_definition(NULL), m_type(type), m_is_parameter(isParameter) {
-        }
-        void init(FileContent* fC, NodeId id, std::string name, VObjectType type, bool isParameter = false) { 
-             m_fileContent = fC; m_id = id; m_name = name; m_type = type; m_is_parameter = isParameter; }
-        virtual ~DataType();
+class FileContent;
+class Value;
+class DataType {
+ public:
+  DataType()
+      : m_fileContent(NULL),
+        m_id(0),
+        m_name(""),
+        m_definition(NULL),
+        m_is_parameter(false) {}
+  DataType(FileContent* fC, NodeId id, std::string name, VObjectType type,
+           bool isParameter = false)
+      : m_fileContent(fC),
+        m_id(id),
+        m_name(name),
+        m_definition(NULL),
+        m_type(type),
+        m_is_parameter(isParameter) {}
+  void init(FileContent* fC, NodeId id, std::string name, VObjectType type,
+            bool isParameter = false) {
+    m_fileContent = fC;
+    m_id = id;
+    m_name = name;
+    m_type = type;
+    m_is_parameter = isParameter;
+  }
+  virtual ~DataType();
 
-        FileContent* getFileContent() {
-            return m_fileContent;
-        }
+  FileContent* getFileContent() { return m_fileContent; }
 
-        NodeId getNodeId() {
-            return m_id;
-        }
+  NodeId getNodeId() { return m_id; }
 
-        std::string getName() {
-            return m_name;
-        }
+  std::string getName() { return m_name; }
 
-        void setDefinition(DataType* def) {
-            m_definition = def;
-        }
+  void setDefinition(DataType* def) { m_definition = def; }
 
-        DataType* getDefinition() {
-            return m_definition;
-        }
-        
-        virtual VObjectType getType() { return m_type; }
-        
-        bool isCompatible(Value*);
-        
-        bool isInteger_type(VObjectType type);
-        bool isInteger_atom_type(VObjectType type);
-        bool isInteger_vector_type(VObjectType type);
-        bool isNon_integer_type(VObjectType type);
-        bool isNet_type(VObjectType type);
-        bool isData_type(VObjectType type);
-        bool isString_type(VObjectType type);
-        bool isStrength0(VObjectType type);
-        bool isStrength1(VObjectType type);
-        bool isNumber(VObjectType type);
+  DataType* getDefinition() { return m_definition; }
 
-        bool isParameter() { return m_is_parameter; }
-        
-    private:
-        FileContent* m_fileContent;
-        NodeId       m_id;
-        std::string  m_name;
-        DataType*    m_definition;
-        VObjectType  m_type;
-        bool         m_is_parameter;
-    };
+  virtual VObjectType getType() { return m_type; }
 
+  bool isCompatible(Value*);
+
+  bool isInteger_type(VObjectType type);
+  bool isInteger_atom_type(VObjectType type);
+  bool isInteger_vector_type(VObjectType type);
+  bool isNon_integer_type(VObjectType type);
+  bool isNet_type(VObjectType type);
+  bool isData_type(VObjectType type);
+  bool isString_type(VObjectType type);
+  bool isStrength0(VObjectType type);
+  bool isStrength1(VObjectType type);
+  bool isNumber(VObjectType type);
+
+  bool isParameter() { return m_is_parameter; }
+
+ private:
+  FileContent* m_fileContent;
+  NodeId m_id;
+  std::string m_name;
+  DataType* m_definition;
+  VObjectType m_type;
+  bool m_is_parameter;
 };
 
+};  // namespace SURELOG
+
 #endif /* DATATYPE_H */
-
-
diff --git a/SVIncCompil/Design/DefParam.h b/SVIncCompil/Design/DefParam.h
index 8b0bc30..6be1311 100644
--- a/SVIncCompil/Design/DefParam.h
+++ b/SVIncCompil/Design/DefParam.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   DefParam.h
  * Author: alain
  *
@@ -29,39 +29,47 @@
 namespace SURELOG {
 
 class DefParam {
-public:
-    DefParam(std::string name, DefParam* parent = NULL) : m_name(name), m_value(NULL), m_used(false), m_parent(parent),
-    m_fileContent(NULL), m_nodeId(0) {}
-    
-    DefParam(const DefParam& orig);
+ public:
+  DefParam(std::string name, DefParam* parent = NULL)
+      : m_name(name),
+        m_value(NULL),
+        m_used(false),
+        m_parent(parent),
+        m_fileContent(NULL),
+        m_nodeId(0) {}
 
-    virtual ~DefParam();
+  DefParam(const DefParam& orig);
 
-    Value* getValue() { return m_value; }
-    void setValue(Value* value) { m_value = value; }
-    
-    void setChild(std::string name, DefParam* child) { m_children.insert(std::make_pair(name, child)); }
-    std::map<std::string, DefParam*>& getChildren() { return m_children; }
-    bool isUsed() { return m_used; }
-    void setUsed() { m_used = true; }
-    void setLocation(FileContent* fC, NodeId nodeId) { m_fileContent = fC; m_nodeId = nodeId; }
-    FileContent* getLocation() { return m_fileContent; }
-    NodeId getNodeId() { return m_nodeId; }
-    std::string getFullName();
-    DefParam* getParent() { return m_parent; }
-private:
-    std::string m_name;
-    std::map<std::string, DefParam*> m_children;
-    Value* m_value;
-    bool   m_used;
-    DefParam* m_parent;
-    FileContent* m_fileContent;
-    NodeId m_nodeId;
-    
+  virtual ~DefParam();
+
+  Value* getValue() { return m_value; }
+  void setValue(Value* value) { m_value = value; }
+
+  void setChild(std::string name, DefParam* child) {
+    m_children.insert(std::make_pair(name, child));
+  }
+  std::map<std::string, DefParam*>& getChildren() { return m_children; }
+  bool isUsed() { return m_used; }
+  void setUsed() { m_used = true; }
+  void setLocation(FileContent* fC, NodeId nodeId) {
+    m_fileContent = fC;
+    m_nodeId = nodeId;
+  }
+  FileContent* getLocation() { return m_fileContent; }
+  NodeId getNodeId() { return m_nodeId; }
+  std::string getFullName();
+  DefParam* getParent() { return m_parent; }
+
+ private:
+  std::string m_name;
+  std::map<std::string, DefParam*> m_children;
+  Value* m_value;
+  bool m_used;
+  DefParam* m_parent;
+  FileContent* m_fileContent;
+  NodeId m_nodeId;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* DEFPARAM_H */
-
-
diff --git a/SVIncCompil/Design/Design.h b/SVIncCompil/Design/Design.h
index 40d92e5..1fbd958 100644
--- a/SVIncCompil/Design/Design.h
+++ b/SVIncCompil/Design/Design.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Design.h
  * Author: alain
  *
@@ -32,100 +32,132 @@
 #include "../Testbench/Program.h"
 
 namespace SURELOG {
-    
+
 class Design {
-public:
-    Design(Compiler* compiler, LibrarySet* librarySet, ConfigSet* configSet) : m_compiler(compiler), m_librarySet(librarySet), m_configSet(configSet) {}
-    Design(const Design& orig);
-    virtual ~Design();
-    
-    void clearContainers();
-    
-    typedef std::vector<std::pair<SymbolId, FileContent*>> FileIdDesignContentMap;
-       
-    FileIdDesignContentMap& getAllFileContents() { return m_fileContents; }
+ public:
+  Design(Compiler* compiler, LibrarySet* librarySet, ConfigSet* configSet)
+      : m_compiler(compiler),
+        m_librarySet(librarySet),
+        m_configSet(configSet) {}
+  Design(const Design& orig);
+  virtual ~Design();
 
-    // Thread-safe
-    void addFileContent(SymbolId fileId, FileContent* content);
-    
-    LibrarySet* getLibrarySet() { return m_librarySet; }
-    ConfigSet*  getConfigSet() { return m_configSet; }
-    
-    void addOrderedPackage(std::string packageName) { m_orderedPackageNames.push_back(packageName); } 
-    
-    ModuleNameModuleDefinitionMap&    getModuleDefinitions()  { return m_moduleDefinitions; }
-    PackageNamePackageDefinitionMultiMap&  getPackageDefinitions() { return m_packageDefinitions; }
-    PackageDefinitionVec&             getOrderedPackageDefinitions() { return m_orderedPackageDefinitions; }
-    ProgramNameProgramDefinitionMap&  getProgramDefinitions() { return m_programDefinitions; }
-    ClassNameClassDefinitionMultiMap& getClassDefinitions()   { return m_classDefinitions; } 
-    ClassNameClassDefinitionMap& getUniqueClassDefinitions() { return m_uniqueClassDefinitions; } 
-    
-    ModuleDefinition* getModuleDefinition(const std::string& moduleName);
- 
-    DesignComponent* getComponentDefinition(const std::string& componentName);
-    
-    void addModuleDefinition(std::string moduleName, ModuleDefinition* def) {  m_moduleDefinitions.insert(std::make_pair(moduleName, def)) ;}
-    
-    std::vector<ModuleInstance*>& getTopLevelModuleInstances() { return m_topLevelModuleInstances; }
-    
-    void addTopLevelModuleInstance(ModuleInstance* instance) { m_topLevelModuleInstances.push_back(instance); }
-    
-    std::string reportInstanceTree();
-    
-    void reportInstanceTreeStats(unsigned int& nbTopLevelModules, unsigned int& maxDepth, unsigned int& numberOfInstances, 
-                                 unsigned int& numberOfLeafInstances, unsigned int& nbUndefinedModules, unsigned int& nbUndefinedInstances);
-    
-    void      addDefParam(std::string name, FileContent* fC, NodeId nodeId, Value* value);
-    DefParam* getDefParam(std::string name);
-    Value*    getDefParamValue(std::string name);
-    std::map<std::string, DefParam*>& getDefParams() { return m_defParams; }
-    void checkDefParamUsage(DefParam* parent = NULL);
-    
-    ModuleInstance* findInstance(std::vector<std::string>& path, ModuleInstance* scope = NULL);
-    ModuleInstance* findInstance(std::string path, ModuleInstance* scope = NULL);
-    
-    Package* addPackageDefinition(std::string packageName, Package* package);
-    Package* getPackage(std::string name);
-    
-    void addProgramDefinition(std::string programName, Program* program) { m_programDefinitions.insert(std::make_pair(programName, program)); }
-    Program* getProgram(std::string name);
-    
-    void addClassDefinition(std::string className, ClassDefinition* classDef); 
-    ClassDefinition* getClassDefinition(std::string name);
-    
-    Compiler* getCompiler() { return m_compiler; }
-    
-    void orderPackages();
-private:    
-    ModuleInstance* findInstance_(std::vector<std::string>& path, ModuleInstance* scope);
-    void addDefParam_(std::vector<std::string>& path, FileContent* fC, NodeId nodeId, Value* value, DefParam* parent);
-    DefParam* getDefParam_(std::vector<std::string>& path, DefParam* parent);
+  void clearContainers();
 
-    Compiler*   m_compiler;
-    LibrarySet* m_librarySet;
-    ConfigSet*  m_configSet;
-    FileIdDesignContentMap m_fileContents;
-    
-    ModuleNameModuleDefinitionMap m_moduleDefinitions;
+  typedef std::vector<std::pair<SymbolId, FileContent*>> FileIdDesignContentMap;
 
-    std::vector<ModuleInstance*> m_topLevelModuleInstances;
-    
-    std::map<std::string, DefParam*> m_defParams; 
-    
-    PackageNamePackageDefinitionMultiMap m_packageDefinitions;
-    PackageDefinitionVec            m_orderedPackageDefinitions; 
-    
-    ProgramNameProgramDefinitionMap m_programDefinitions;
-  
-    ClassNameClassDefinitionMultiMap m_classDefinitions;
-    
-    ClassNameClassDefinitionMap m_uniqueClassDefinitions;
-    
-    std::vector<std::string> m_orderedPackageNames;
+  FileIdDesignContentMap& getAllFileContents() { return m_fileContents; }
+
+  // Thread-safe
+  void addFileContent(SymbolId fileId, FileContent* content);
+
+  LibrarySet* getLibrarySet() { return m_librarySet; }
+  ConfigSet* getConfigSet() { return m_configSet; }
+
+  void addOrderedPackage(std::string packageName) {
+    m_orderedPackageNames.push_back(packageName);
+  }
+
+  ModuleNameModuleDefinitionMap& getModuleDefinitions() {
+    return m_moduleDefinitions;
+  }
+  PackageNamePackageDefinitionMultiMap& getPackageDefinitions() {
+    return m_packageDefinitions;
+  }
+  PackageDefinitionVec& getOrderedPackageDefinitions() {
+    return m_orderedPackageDefinitions;
+  }
+  ProgramNameProgramDefinitionMap& getProgramDefinitions() {
+    return m_programDefinitions;
+  }
+  ClassNameClassDefinitionMultiMap& getClassDefinitions() {
+    return m_classDefinitions;
+  }
+  ClassNameClassDefinitionMap& getUniqueClassDefinitions() {
+    return m_uniqueClassDefinitions;
+  }
+
+  ModuleDefinition* getModuleDefinition(const std::string& moduleName);
+
+  DesignComponent* getComponentDefinition(const std::string& componentName);
+
+  void addModuleDefinition(std::string moduleName, ModuleDefinition* def) {
+    m_moduleDefinitions.insert(std::make_pair(moduleName, def));
+  }
+
+  std::vector<ModuleInstance*>& getTopLevelModuleInstances() {
+    return m_topLevelModuleInstances;
+  }
+
+  void addTopLevelModuleInstance(ModuleInstance* instance) {
+    m_topLevelModuleInstances.push_back(instance);
+  }
+
+  std::string reportInstanceTree();
+
+  void reportInstanceTreeStats(unsigned int& nbTopLevelModules,
+                               unsigned int& maxDepth,
+                               unsigned int& numberOfInstances,
+                               unsigned int& numberOfLeafInstances,
+                               unsigned int& nbUndefinedModules,
+                               unsigned int& nbUndefinedInstances);
+
+  void addDefParam(std::string name, FileContent* fC, NodeId nodeId,
+                   Value* value);
+  DefParam* getDefParam(std::string name);
+  Value* getDefParamValue(std::string name);
+  std::map<std::string, DefParam*>& getDefParams() { return m_defParams; }
+  void checkDefParamUsage(DefParam* parent = NULL);
+
+  ModuleInstance* findInstance(std::vector<std::string>& path,
+                               ModuleInstance* scope = NULL);
+  ModuleInstance* findInstance(std::string path, ModuleInstance* scope = NULL);
+
+  Package* addPackageDefinition(std::string packageName, Package* package);
+  Package* getPackage(std::string name);
+
+  void addProgramDefinition(std::string programName, Program* program) {
+    m_programDefinitions.insert(std::make_pair(programName, program));
+  }
+  Program* getProgram(std::string name);
+
+  void addClassDefinition(std::string className, ClassDefinition* classDef);
+  ClassDefinition* getClassDefinition(std::string name);
+
+  Compiler* getCompiler() { return m_compiler; }
+
+  void orderPackages();
+
+ private:
+  ModuleInstance* findInstance_(std::vector<std::string>& path,
+                                ModuleInstance* scope);
+  void addDefParam_(std::vector<std::string>& path, FileContent* fC,
+                    NodeId nodeId, Value* value, DefParam* parent);
+  DefParam* getDefParam_(std::vector<std::string>& path, DefParam* parent);
+
+  Compiler* m_compiler;
+  LibrarySet* m_librarySet;
+  ConfigSet* m_configSet;
+  FileIdDesignContentMap m_fileContents;
+
+  ModuleNameModuleDefinitionMap m_moduleDefinitions;
+
+  std::vector<ModuleInstance*> m_topLevelModuleInstances;
+
+  std::map<std::string, DefParam*> m_defParams;
+
+  PackageNamePackageDefinitionMultiMap m_packageDefinitions;
+  PackageDefinitionVec m_orderedPackageDefinitions;
+
+  ProgramNameProgramDefinitionMap m_programDefinitions;
+
+  ClassNameClassDefinitionMultiMap m_classDefinitions;
+
+  ClassNameClassDefinitionMap m_uniqueClassDefinitions;
+
+  std::vector<std::string> m_orderedPackageNames;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* DESIGN_H */
-
-
diff --git a/SVIncCompil/Design/DesignComponent.h b/SVIncCompil/Design/DesignComponent.h
index 07b34e5..31625dc 100644
--- a/SVIncCompil/Design/DesignComponent.h
+++ b/SVIncCompil/Design/DesignComponent.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   DesignComponent.h
  * Author: alain
  *
@@ -31,7 +31,6 @@
 #include "../Testbench/TypeDef.h"
 #include "ValuedComponentI.h"
 
-
 namespace SURELOG {
 
 class Package;
@@ -39,73 +38,77 @@
 class Variable;
 
 class DesignComponent : public ValuedComponentI {
-public:
-    DesignComponent(DesignComponent* parent) : ValuedComponentI(parent) {}
-    virtual ~DesignComponent() {}
-    
-    virtual unsigned int getSize() = 0; 
-    virtual VObjectType  getType() = 0;
-    virtual bool         isInstance() = 0;
-    virtual std::string  getName() = 0;
-    void append(DesignComponent*);
-    
-    typedef std::map<std::string, DataType*> DataTypeMap;
-    typedef std::map<std::string, TypeDef*>  TypeDefMap;
-    typedef std::map<std::string, Function*> FunctionMap;
-    typedef std::map<std::string, Variable*> VariableMap;
-           
-    void addFileContent(FileContent* fileContent, NodeId nodeId);
-    std::vector<FileContent*>& getFileContents() { return m_fileContents; }
-    std::vector<NodeId>& getNodeIds() { return m_nodeIds; }
-    
-    // Precompiled Object of interest 
-    std::vector<FileCNodeId>& getObjects(VObjectType type);
-    void addObject(VObjectType type, FileCNodeId object);
-    
-    void addNamedObject(std::string name, FileCNodeId object, DesignComponent* def = NULL);
-    std::map<std::string, std::pair<FileCNodeId, DesignComponent*>>& getNamedObjects() { return m_namedObjects; }
-    std::pair<FileCNodeId, DesignComponent*>* getNamedObject(std::string name);
-    
-    DataTypeMap& getUsedDataTypeMap() { return m_usedDataTypes; }
-    DataType* getUsedDataType(const std::string& name);
-    void insertUsedDataType(const std::string& dataTypeName, DataType* dataType);
-    
-    DataTypeMap& getDataTypeMap() { return m_dataTypes; }
-    DataType* getDataType(const std::string& name);
-    void insertDataType(const std::string& dataTypeName, DataType* dataType);
-    
-    TypeDefMap& getTypeDefMap() { return m_typedefs; }
-    TypeDef* getTypeDef(const std::string& name);
-    void insertTypeDef(TypeDef* p);
-    
-    FunctionMap& getFunctionMap() { return m_functions; }
-    virtual Function* getFunction(const std::string& name);
-    void insertFunction(Function* p);
-    
-    void addAccessPackage(Package* p) { m_packages.push_back(p); }
-    std::vector<Package*>& getAccessPackages() { return m_packages; }
+ public:
+  DesignComponent(DesignComponent* parent) : ValuedComponentI(parent) {}
+  virtual ~DesignComponent() {}
 
-    void addVariable(Variable* var);
-    VariableMap& getVariables() { return m_variables; }
-    Variable* getVariable(const std::string& name);
-    
-protected:
-    std::vector<FileContent*> m_fileContents;
-    std::vector<NodeId>       m_nodeIds;
-    FunctionMap               m_functions;
-private:
-    std::map<VObjectType, std::vector<FileCNodeId>> m_objects;
-    std::map<std::string, std::pair<FileCNodeId, DesignComponent*>> m_namedObjects;
-    std::vector<FileCNodeId>  m_empty;
-    DataTypeMap               m_dataTypes;
-    DataTypeMap               m_usedDataTypes;
-    TypeDefMap                m_typedefs; 
-    std::vector<Package*>     m_packages;
-    VariableMap               m_variables;
+  virtual unsigned int getSize() = 0;
+  virtual VObjectType getType() = 0;
+  virtual bool isInstance() = 0;
+  virtual std::string getName() = 0;
+  void append(DesignComponent*);
+
+  typedef std::map<std::string, DataType*> DataTypeMap;
+  typedef std::map<std::string, TypeDef*> TypeDefMap;
+  typedef std::map<std::string, Function*> FunctionMap;
+  typedef std::map<std::string, Variable*> VariableMap;
+
+  void addFileContent(FileContent* fileContent, NodeId nodeId);
+  std::vector<FileContent*>& getFileContents() { return m_fileContents; }
+  std::vector<NodeId>& getNodeIds() { return m_nodeIds; }
+
+  // Precompiled Object of interest
+  std::vector<FileCNodeId>& getObjects(VObjectType type);
+  void addObject(VObjectType type, FileCNodeId object);
+
+  void addNamedObject(std::string name, FileCNodeId object,
+                      DesignComponent* def = NULL);
+  std::map<std::string, std::pair<FileCNodeId, DesignComponent*>>&
+  getNamedObjects() {
+    return m_namedObjects;
+  }
+  std::pair<FileCNodeId, DesignComponent*>* getNamedObject(std::string name);
+
+  DataTypeMap& getUsedDataTypeMap() { return m_usedDataTypes; }
+  DataType* getUsedDataType(const std::string& name);
+  void insertUsedDataType(const std::string& dataTypeName, DataType* dataType);
+
+  DataTypeMap& getDataTypeMap() { return m_dataTypes; }
+  DataType* getDataType(const std::string& name);
+  void insertDataType(const std::string& dataTypeName, DataType* dataType);
+
+  TypeDefMap& getTypeDefMap() { return m_typedefs; }
+  TypeDef* getTypeDef(const std::string& name);
+  void insertTypeDef(TypeDef* p);
+
+  FunctionMap& getFunctionMap() { return m_functions; }
+  virtual Function* getFunction(const std::string& name);
+  void insertFunction(Function* p);
+
+  void addAccessPackage(Package* p) { m_packages.push_back(p); }
+  std::vector<Package*>& getAccessPackages() { return m_packages; }
+
+  void addVariable(Variable* var);
+  VariableMap& getVariables() { return m_variables; }
+  Variable* getVariable(const std::string& name);
+
+ protected:
+  std::vector<FileContent*> m_fileContents;
+  std::vector<NodeId> m_nodeIds;
+  FunctionMap m_functions;
+
+ private:
+  std::map<VObjectType, std::vector<FileCNodeId>> m_objects;
+  std::map<std::string, std::pair<FileCNodeId, DesignComponent*>>
+      m_namedObjects;
+  std::vector<FileCNodeId> m_empty;
+  DataTypeMap m_dataTypes;
+  DataTypeMap m_usedDataTypes;
+  TypeDefMap m_typedefs;
+  std::vector<Package*> m_packages;
+  VariableMap m_variables;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* DESIGNCOMPONENT_H */
-
-
diff --git a/SVIncCompil/Design/DesignElement.h b/SVIncCompil/Design/DesignElement.h
index 19ec2df..b9ccb53 100644
--- a/SVIncCompil/Design/DesignElement.h
+++ b/SVIncCompil/Design/DesignElement.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   DesignElement.h
  * Author: alain
  *
@@ -24,45 +24,43 @@
 #ifndef DESIGNELEMENT_H
 #define DESIGNELEMENT_H
 
-
 namespace SURELOG {
 
 class DesignElement {
-public:
-    typedef enum {
-        Module,
-        Primitive,
-        Interface,
-        Program,
-        Package,    
-        Config,
-        Checker, 
-        Class,    // Class is not a Design element per Standard, but is a major component tracked  
-        Function, // Function is not a Design Element per Standard, but in a package it is a element worth tracking
-        Task,
-        SLline    // Used to split files with correct file info        
-    } 
-    ElemType;
-    
-    
-    DesignElement(SymbolId name, SymbolId fileId, ElemType type, SymbolId uniqueId, unsigned int line, SymbolId parent);
-    virtual ~DesignElement();
-    
-    SymbolId   m_name; 
-    SymbolId   m_fileId; 
-    ElemType m_type;
-    SymbolId   m_uniqueId;
-    unsigned int m_line;
-    TimeInfo m_timeInfo;
-    SymbolId m_parent;
-    NodeId   m_node;
-    void*    m_context; // Not persisted field, only used to build the DesignElement -> VNode relation
-private:
+ public:
+  typedef enum {
+    Module,
+    Primitive,
+    Interface,
+    Program,
+    Package,
+    Config,
+    Checker,
+    Class,     // Class is not a Design element per Standard, but is a major
+               // component tracked
+    Function,  // Function is not a Design Element per Standard, but in a
+               // package it is a element worth tracking
+    Task,
+    SLline  // Used to split files with correct file info
+  } ElemType;
 
+  DesignElement(SymbolId name, SymbolId fileId, ElemType type,
+                SymbolId uniqueId, unsigned int line, SymbolId parent);
+  virtual ~DesignElement();
+
+  SymbolId m_name;
+  SymbolId m_fileId;
+  ElemType m_type;
+  SymbolId m_uniqueId;
+  unsigned int m_line;
+  TimeInfo m_timeInfo;
+  SymbolId m_parent;
+  NodeId m_node;
+  void* m_context;  // Not persisted field, only used to build the DesignElement
+                    // -> VNode relation
+ private:
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* DESIGNELEMENT_H */
-
-
diff --git a/SVIncCompil/Design/Enum.h b/SVIncCompil/Design/Enum.h
index 3bd62e7..83e0814 100644
--- a/SVIncCompil/Design/Enum.h
+++ b/SVIncCompil/Design/Enum.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Enum.h
  * Author: alain
  *
@@ -29,25 +29,26 @@
 
 namespace SURELOG {
 
-    class Value;
-    class FileContent;
-    
-    class Enum : public DataType {
-    public:
-        Enum(std::string name, FileContent* fC, NodeId nodeId, VObjectType baseType);
-        void addValue(std::string& name, Value* value) { m_values.insert(std::make_pair(name, value)); }
-        Value* getValue(std::string& name);
-        VObjectType getBaseType() { return m_baseType; }
-        typedef std::map<std::string, Value*> NameValueMap;
+class Value;
+class FileContent;
 
-        virtual ~Enum();
-    private:
-        NameValueMap m_values;
-        VObjectType  m_baseType;
-    };
+class Enum : public DataType {
+ public:
+  Enum(std::string name, FileContent* fC, NodeId nodeId, VObjectType baseType);
+  void addValue(std::string& name, Value* value) {
+    m_values.insert(std::make_pair(name, value));
+  }
+  Value* getValue(std::string& name);
+  VObjectType getBaseType() { return m_baseType; }
+  typedef std::map<std::string, Value*> NameValueMap;
 
+  virtual ~Enum();
+
+ private:
+  NameValueMap m_values;
+  VObjectType m_baseType;
 };
 
+};  // namespace SURELOG
+
 #endif /* ENUM_H */
-
-
diff --git a/SVIncCompil/Design/FileCNodeId.h b/SVIncCompil/Design/FileCNodeId.h
index ce7410f..05a5562 100644
--- a/SVIncCompil/Design/FileCNodeId.h
+++ b/SVIncCompil/Design/FileCNodeId.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   FileCNodeId.h
  * Author: alain
  *
@@ -30,14 +30,12 @@
 class FileContent;
 
 class FileCNodeId {
-public:
-    FileCNodeId (FileContent* f, NodeId n) : fC(f), nodeId(n) {}
-    FileContent* fC;
-    NodeId       nodeId;
+ public:
+  FileCNodeId(FileContent* f, NodeId n) : fC(f), nodeId(n) {}
+  FileContent* fC;
+  NodeId nodeId;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* FILECNODEID_H */
-
-
diff --git a/SVIncCompil/Design/FileContent.h b/SVIncCompil/Design/FileContent.h
index 1a4ba86..55e6eef 100644
--- a/SVIncCompil/Design/FileContent.h
+++ b/SVIncCompil/Design/FileContent.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   FileContent.h
  * Author: alain
  *
@@ -41,143 +41,188 @@
 class Program;
 class ClassDefinition;
 class ExprBuilder;
-class ErrorContainer; 
+class ErrorContainer;
 
 typedef std::map<std::string, ModuleDefinition*> ModuleNameModuleDefinitionMap;
-typedef std::multimap<std::string, Package*>     PackageNamePackageDefinitionMultiMap;
-typedef std::vector<Package*>                    PackageDefinitionVec;
-typedef std::map<std::string, Program*>          ProgramNameProgramDefinitionMap;
+typedef std::multimap<std::string, Package*>
+    PackageNamePackageDefinitionMultiMap;
+typedef std::vector<Package*> PackageDefinitionVec;
+typedef std::map<std::string, Program*> ProgramNameProgramDefinitionMap;
 
-typedef std::multimap<std::string, ClassDefinition*>  ClassNameClassDefinitionMultiMap;
-typedef std::map<std::string, ClassDefinition*>       ClassNameClassDefinitionMap;
+typedef std::multimap<std::string, ClassDefinition*>
+    ClassNameClassDefinitionMultiMap;
+typedef std::map<std::string, ClassDefinition*> ClassNameClassDefinitionMap;
 
 class FileContent : public DesignComponent {
-public:
-    FileContent(SymbolId fileId, Library* library, SymbolTable* symbolTable, ErrorContainer* errors, FileContent* parent, SymbolId fileChunkId) : 
-    DesignComponent(NULL), m_fileId(fileId), m_library(library), m_symbolTable(symbolTable), m_errors(errors), m_parentFile(parent), m_fileChunkId(fileChunkId) {} 
-    void setLibrary(Library* lib) { m_library = lib; }
-    virtual ~FileContent();
-    
-    typedef std::unordered_map<std::string, NodeId> NameIdMap; 
-    
-    NodeId sl_get(NodeId parent, VObjectType type);  // Get first child item of type
-    
-    NodeId sl_parent(NodeId parent, VObjectType type);  // Get first parent item of type
-    
-    NodeId sl_parent(NodeId parent, std::vector<VObjectType> types, VObjectType& actualType);  // Get first parent item of type
-    
-    std::vector<NodeId> sl_get_all(NodeId parent, VObjectType type);  // get all child items of type
-    
-    std::vector<NodeId> sl_get_all(NodeId parent, std::vector<VObjectType>& types);  // get all child items of types
-    
-    NodeId sl_collect(NodeId parent, VObjectType type); // Recursively search for first item of type
-    
-    NodeId sl_collect(NodeId parent, VObjectType type, VObjectType stopType); // Recursively search for first item of type
-    
-    std::vector<NodeId> sl_collect_all(NodeId parent, VObjectType type, bool first = false); // Recursively search for all items of type
-    
-    std::vector<NodeId> sl_collect_all(NodeId parent, std::vector<VObjectType>& types, bool first = false); // Recursively search for all items of types
-    
-    std::vector<NodeId> sl_collect_all(NodeId parent, std::vector<VObjectType>& types, std::vector<VObjectType>& stopPoints, bool first = false); 
-                                                                                            // Recursively search for all items of types
-                                                                                            // and stops at types stopPoints
-    unsigned int getSize(); 
-    VObjectType  getType() { return VObjectType::slNoType; }
-    bool         isInstance() { return false; }
-    std::string  getName() { return m_symbolTable->getSymbol(m_fileId); }
-    NodeId      getRootNode();
-    std::string printObjects(); // The whole file content    
-    std::string printSubTree(NodeId parentIndex);  // Print subtree from parent 
-    std::vector<std::string> collectSubTree(NodeId uniqueId); // Helper function
-    std::string getFileName(NodeId id);
-    std::string getChunkFileName() { return m_symbolTable->getSymbol(m_fileChunkId); }
-    SymbolTable* getSymbolTable() { return m_symbolTable; }
-    void         setSymbolTable(SymbolTable* table) { m_symbolTable = table; }
-    SymbolId&    getFileId(NodeId id);
-    Library*     getLibrary() { return m_library; }
-    std::vector<DesignElement>& getDesignElements() { return m_elements; }
-    std::vector<VObject>&       getVObjects() { return m_objects; }
-    NameIdMap&                  getObjectLookup() { return m_objectLookup; }
-    void                        insertObjectLookup(std::string name, NodeId id, ErrorContainer* errors);
-    std::unordered_set<std::string>& getReferencedObjects() { return m_referencedObjects; }
-    
-    VObject& Object(NodeId index);
+ public:
+  FileContent(SymbolId fileId, Library* library, SymbolTable* symbolTable,
+              ErrorContainer* errors, FileContent* parent, SymbolId fileChunkId)
+      : DesignComponent(NULL),
+        m_fileId(fileId),
+        m_library(library),
+        m_symbolTable(symbolTable),
+        m_errors(errors),
+        m_parentFile(parent),
+        m_fileChunkId(fileChunkId) {}
+  void setLibrary(Library* lib) { m_library = lib; }
+  virtual ~FileContent();
 
-    NodeId UniqueId(NodeId index);
+  typedef std::unordered_map<std::string, NodeId> NameIdMap;
 
-    SymbolId& Name(NodeId index);
+  NodeId sl_get(NodeId parent,
+                VObjectType type);  // Get first child item of type
 
-    NodeId& Child(NodeId index);
+  NodeId sl_parent(NodeId parent,
+                   VObjectType type);  // Get first parent item of type
 
-    NodeId& Sibling(NodeId index);
+  NodeId sl_parent(NodeId parent, std::vector<VObjectType> types,
+                   VObjectType& actualType);  // Get first parent item of type
 
-    NodeId& Definition(NodeId index);
-    
-    void SetDefinitionFile(NodeId index, SymbolId def);
-    SymbolId GetDefinitionFile(NodeId index);
+  std::vector<NodeId> sl_get_all(
+      NodeId parent, VObjectType type);  // get all child items of type
 
-    NodeId& Parent(NodeId index);
-        
-    const VObjectType Type(NodeId index);
-        
-    unsigned int& Line(NodeId index);
-    
-    std::string SymName(NodeId index) { return m_symbolTable->getSymbol(Name(index)); }
-    
-    ModuleNameModuleDefinitionMap&   getModuleDefinitions()  { return m_moduleDefinitions; }
-    PackageNamePackageDefinitionMultiMap& getPackageDefinitions() { return m_packageDefinitions; }
-    ProgramNameProgramDefinitionMap& getProgramDefinitions() { return m_programDefinitions; }
-    ClassNameClassDefinitionMultiMap& getClassDefinitions() { return m_classDefinitions; }
-    void addModuleDefinition(std::string moduleName, ModuleDefinition* def) {  m_moduleDefinitions.insert(std::make_pair(moduleName, def)) ;}   
-    void addPackageDefinition(std::string packageName, Package* package) { m_packageDefinitions.insert(std::make_pair(packageName, package)); }
-    void addProgramDefinition(std::string programName, Program* program) { m_programDefinitions.insert(std::make_pair(programName, program)); }
-    void addClassDefinition(std::string className, ClassDefinition* classDef) { m_classDefinitions.insert(std::make_pair(className, classDef)); }
-    
-    ModuleDefinition* getModuleDefinition(const std::string& moduleName);
- 
-    DesignComponent* getComponentDefinition(const std::string& componentName);
-    
-    Package* getPackage(const std::string& name);
-    
-    Program* getProgram(const std::string& name);
+  std::vector<NodeId> sl_get_all(
+      NodeId parent,
+      std::vector<VObjectType>& types);  // get all child items of types
 
-    ClassDefinition* getClassDefinition(const std::string& name);
-        
-    FileContent* getParent() { return m_parentFile; }
-    void setParent(FileContent* parent) { m_parentFile = parent; }
-    
-    std::string getFileName() { return m_symbolTable->getSymbol(m_fileId); }
-    
-    bool diffTree(std::string& diff, NodeId id, FileContent* oFc, NodeId oId);
-    
-  private:  
-    std::vector<DesignElement> m_elements;
-    
-    std::vector<VObject>       m_objects;
-    std::unordered_map<NodeId, SymbolId> m_definitionFiles;
-    
-    NameIdMap m_objectLookup; // Populated at ResolveSymbol stage
-    std::unordered_set<std::string> m_referencedObjects;
-    
-    ModuleNameModuleDefinitionMap m_moduleDefinitions;
-    
-    PackageNamePackageDefinitionMultiMap m_packageDefinitions;
-    
-    ProgramNameProgramDefinitionMap m_programDefinitions;
-    
-    ClassNameClassDefinitionMultiMap m_classDefinitions;
-    
-    SymbolId                   m_fileId;
-    Library*                   m_library;
-    SymbolTable*               m_symbolTable;
-    ErrorContainer*            m_errors;
-    FileContent*               m_parentFile; // for file chunks
-    SymbolId                   m_fileChunkId;
+  NodeId sl_collect(
+      NodeId parent,
+      VObjectType type);  // Recursively search for first item of type
+
+  NodeId sl_collect(
+      NodeId parent, VObjectType type,
+      VObjectType stopType);  // Recursively search for first item of type
+
+  std::vector<NodeId> sl_collect_all(
+      NodeId parent, VObjectType type,
+      bool first = false);  // Recursively search for all items of type
+
+  std::vector<NodeId> sl_collect_all(
+      NodeId parent, std::vector<VObjectType>& types,
+      bool first = false);  // Recursively search for all items of types
+
+  std::vector<NodeId> sl_collect_all(NodeId parent,
+                                     std::vector<VObjectType>& types,
+                                     std::vector<VObjectType>& stopPoints,
+                                     bool first = false);
+  // Recursively search for all items of types
+  // and stops at types stopPoints
+  unsigned int getSize();
+  VObjectType getType() { return VObjectType::slNoType; }
+  bool isInstance() { return false; }
+  std::string getName() { return m_symbolTable->getSymbol(m_fileId); }
+  NodeId getRootNode();
+  std::string printObjects();                    // The whole file content
+  std::string printSubTree(NodeId parentIndex);  // Print subtree from parent
+  std::vector<std::string> collectSubTree(NodeId uniqueId);  // Helper function
+  std::string getFileName(NodeId id);
+  std::string getChunkFileName() {
+    return m_symbolTable->getSymbol(m_fileChunkId);
+  }
+  SymbolTable* getSymbolTable() { return m_symbolTable; }
+  void setSymbolTable(SymbolTable* table) { m_symbolTable = table; }
+  SymbolId& getFileId(NodeId id);
+  Library* getLibrary() { return m_library; }
+  std::vector<DesignElement>& getDesignElements() { return m_elements; }
+  std::vector<VObject>& getVObjects() { return m_objects; }
+  NameIdMap& getObjectLookup() { return m_objectLookup; }
+  void insertObjectLookup(std::string name, NodeId id, ErrorContainer* errors);
+  std::unordered_set<std::string>& getReferencedObjects() {
+    return m_referencedObjects;
+  }
+
+  VObject& Object(NodeId index);
+
+  NodeId UniqueId(NodeId index);
+
+  SymbolId& Name(NodeId index);
+
+  NodeId& Child(NodeId index);
+
+  NodeId& Sibling(NodeId index);
+
+  NodeId& Definition(NodeId index);
+
+  void SetDefinitionFile(NodeId index, SymbolId def);
+  SymbolId GetDefinitionFile(NodeId index);
+
+  NodeId& Parent(NodeId index);
+
+  const VObjectType Type(NodeId index);
+
+  unsigned int& Line(NodeId index);
+
+  std::string SymName(NodeId index) {
+    return m_symbolTable->getSymbol(Name(index));
+  }
+
+  ModuleNameModuleDefinitionMap& getModuleDefinitions() {
+    return m_moduleDefinitions;
+  }
+  PackageNamePackageDefinitionMultiMap& getPackageDefinitions() {
+    return m_packageDefinitions;
+  }
+  ProgramNameProgramDefinitionMap& getProgramDefinitions() {
+    return m_programDefinitions;
+  }
+  ClassNameClassDefinitionMultiMap& getClassDefinitions() {
+    return m_classDefinitions;
+  }
+  void addModuleDefinition(std::string moduleName, ModuleDefinition* def) {
+    m_moduleDefinitions.insert(std::make_pair(moduleName, def));
+  }
+  void addPackageDefinition(std::string packageName, Package* package) {
+    m_packageDefinitions.insert(std::make_pair(packageName, package));
+  }
+  void addProgramDefinition(std::string programName, Program* program) {
+    m_programDefinitions.insert(std::make_pair(programName, program));
+  }
+  void addClassDefinition(std::string className, ClassDefinition* classDef) {
+    m_classDefinitions.insert(std::make_pair(className, classDef));
+  }
+
+  ModuleDefinition* getModuleDefinition(const std::string& moduleName);
+
+  DesignComponent* getComponentDefinition(const std::string& componentName);
+
+  Package* getPackage(const std::string& name);
+
+  Program* getProgram(const std::string& name);
+
+  ClassDefinition* getClassDefinition(const std::string& name);
+
+  FileContent* getParent() { return m_parentFile; }
+  void setParent(FileContent* parent) { m_parentFile = parent; }
+
+  std::string getFileName() { return m_symbolTable->getSymbol(m_fileId); }
+
+  bool diffTree(std::string& diff, NodeId id, FileContent* oFc, NodeId oId);
+
+ private:
+  std::vector<DesignElement> m_elements;
+
+  std::vector<VObject> m_objects;
+  std::unordered_map<NodeId, SymbolId> m_definitionFiles;
+
+  NameIdMap m_objectLookup;  // Populated at ResolveSymbol stage
+  std::unordered_set<std::string> m_referencedObjects;
+
+  ModuleNameModuleDefinitionMap m_moduleDefinitions;
+
+  PackageNamePackageDefinitionMultiMap m_packageDefinitions;
+
+  ProgramNameProgramDefinitionMap m_programDefinitions;
+
+  ClassNameClassDefinitionMultiMap m_classDefinitions;
+
+  SymbolId m_fileId;
+  Library* m_library;
+  SymbolTable* m_symbolTable;
+  ErrorContainer* m_errors;
+  FileContent* m_parentFile;  // for file chunks
+  SymbolId m_fileChunkId;
 };
 
-};
-
+};  // namespace SURELOG
 
 #endif /* FILECONTENT_H */
-
-
diff --git a/SVIncCompil/Design/Function.h b/SVIncCompil/Design/Function.h
index 5e6b2aa..abdeceb 100644
--- a/SVIncCompil/Design/Function.h
+++ b/SVIncCompil/Design/Function.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Function.h
  * Author: alain
  *
@@ -36,71 +36,60 @@
 
 namespace SURELOG {
 
-    class Procedure : public Scope, public Statement {
-    public:
+class Procedure : public Scope, public Statement {
+ public:
+  Procedure(DesignComponent* parent, FileContent* fC, NodeId id,
+            std::string name)
+      : Scope(name, NULL),
+        Statement(this, NULL, fC, id,
+                  fC ? fC->Type(id) : VObjectType::slFunction_prototype),
+        m_parent(parent),
+        m_fileContent(fC),
+        m_nodeId(id),
+        m_name(name) {}
 
-        Procedure(DesignComponent* parent, FileContent* fC, NodeId id, std::string name) : 
-             Scope(name, NULL), Statement(this, NULL, fC, id, fC ? fC->Type(id) : VObjectType::slFunction_prototype), m_parent(parent), m_fileContent(fC), m_nodeId(id),
-        m_name(name) {
-        }
+  ~Procedure() {}
 
-        ~Procedure() {
-        }
+  DesignComponent* getParent() { return m_parent; }
 
-        DesignComponent* getParent() {
-            return m_parent;
-        }
+  std::string getName() { return m_name; }
 
-        std::string getName() {
-            return m_name;
-        }
+  FileContent* getFileContent() { return m_fileContent; }
 
-        FileContent* getFileContent() {
-            return m_fileContent;
-        }
+  NodeId getNodeId() { return m_nodeId; }
 
-        NodeId getNodeId() {
-            return m_nodeId;
-        }
+  TfPortList& getParams() { return m_params; }
 
-        TfPortList& getParams() {
-            return m_params;
-        }
-
-    protected:
-        DesignComponent* m_parent;
-        FileContent* m_fileContent;
-        NodeId m_nodeId;
-        std::string m_name;
-        TfPortList m_params;
-    };
-
-    
-    class SeqBlock : public Scope, public Statement {
-    public:
-
-        SeqBlock(std::string name, Scope* parent, Statement* parentStmt, FileContent* fC, NodeId id) : Scope(name, parent), Statement(this, parentStmt, fC, id, fC ? fC->Type(id) : VObjectType::slSeq_block) {
-        };
-    };
-    
-    class Function : public Procedure {
-    public:
-
-        Function(DesignComponent* parent, FileContent* fC, NodeId id, std::string name, DataType* returnType) :
-        Procedure(parent, fC, id, name), m_returnType(returnType) {
-        }
-        bool compile(CompileHelper& compile_helper);
-        virtual ~Function();
-
-        DataType* getReturnType() {
-            return m_returnType;
-        }
-
-    private:
-        DataType* m_returnType;
-    };
+ protected:
+  DesignComponent* m_parent;
+  FileContent* m_fileContent;
+  NodeId m_nodeId;
+  std::string m_name;
+  TfPortList m_params;
 };
 
+class SeqBlock : public Scope, public Statement {
+ public:
+  SeqBlock(std::string name, Scope* parent, Statement* parentStmt,
+           FileContent* fC, NodeId id)
+      : Scope(name, parent),
+        Statement(this, parentStmt, fC, id,
+                  fC ? fC->Type(id) : VObjectType::slSeq_block){};
+};
+
+class Function : public Procedure {
+ public:
+  Function(DesignComponent* parent, FileContent* fC, NodeId id,
+           std::string name, DataType* returnType)
+      : Procedure(parent, fC, id, name), m_returnType(returnType) {}
+  bool compile(CompileHelper& compile_helper);
+  virtual ~Function();
+
+  DataType* getReturnType() { return m_returnType; }
+
+ private:
+  DataType* m_returnType;
+};
+};  // namespace SURELOG
+
 #endif /* FUNCTION_H */
-
-
diff --git a/SVIncCompil/Design/Instance.h b/SVIncCompil/Design/Instance.h
index c33ba7c..540b629 100644
--- a/SVIncCompil/Design/Instance.h
+++ b/SVIncCompil/Design/Instance.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Instance.h
  * Author: alain
  *
@@ -24,20 +24,17 @@
 #ifndef INSTANCE_H
 #define INSTANCE_H
 
-
 namespace SURELOG {
 
 class Instance {
-public:
-    Instance();
-    Instance(const Instance& orig);
-    virtual ~Instance();
-private:
+ public:
+  Instance();
+  Instance(const Instance& orig);
+  virtual ~Instance();
 
+ private:
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* INSTANCE_H */
-
-
diff --git a/SVIncCompil/Design/ModuleDefinition.h b/SVIncCompil/Design/ModuleDefinition.h
index 85fd1db..bd6dacf 100644
--- a/SVIncCompil/Design/ModuleDefinition.h
+++ b/SVIncCompil/Design/ModuleDefinition.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   ModuleDefinition.h
  * Author: alain
  *
@@ -35,57 +35,61 @@
 class CompileModule;
 
 class ModuleDefinition : public DesignComponent, public ClockingBlockHolder {
-    friend CompileModule;
-public:  
-    ModuleDefinition(FileContent* fileContent, NodeId nodeId, std::string& name);
-  
-    virtual ~ModuleDefinition();
- 
-    std::string  getName() { return m_name; }
-    VObjectType  getType() { return (m_fileContents.size()) ? m_fileContents[0]->Type(m_nodeIds[0]) : VObjectType::slN_input_gate_instance; }
-    bool         isInstance();    
-    unsigned int getSize();
-    
-    typedef  std::map<SymbolId, ClockingBlock>       ClockingBlockMap;
-    typedef  std::map<SymbolId, std::vector<Signal>> ModPortSignalMap;    
-    typedef  std::map<SymbolId, std::vector<ClockingBlock>> ModPortClockingBlockMap;
-    
-    ModPortSignalMap& getModPortSignalMap() { return m_modportSignalMap; }
-    ModPortClockingBlockMap& getModPortClockingBlockMap() { return m_modportClockingBlockMap; }
-    void insertModPort(SymbolId modport, Signal& signal);
-    void insertModPort(SymbolId modport, ClockingBlock& block);
-    Signal* getModPortSignal(SymbolId modport, NodeId port);
-    ClockingBlock* getModPortClockingBlock(SymbolId modport, NodeId port);   
-    
-    ClassNameClassDefinitionMultiMap& getClassDefinitions() { return m_classDefinitions; }
-    void addClassDefinition(std::string className, ClassDefinition* classDef) { m_classDefinitions.insert(std::make_pair(className, classDef)); }
-    ClassDefinition* getClassDefinition(const std::string& name); 
-    
-    std::vector<Signal>&   getPorts() { return m_ports; }
-    std::vector<Signal>&   getSignals() { return m_signals; }
-    
-private:   
-    std::string  m_name;
-    std::vector<Signal>     m_ports;
-    std::vector<Signal>     m_signals;
-    ModPortSignalMap        m_modportSignalMap; 
-    ModPortClockingBlockMap m_modportClockingBlockMap;
-    ClassNameClassDefinitionMultiMap m_classDefinitions;
+  friend CompileModule;
+
+ public:
+  ModuleDefinition(FileContent* fileContent, NodeId nodeId, std::string& name);
+
+  virtual ~ModuleDefinition();
+
+  std::string getName() { return m_name; }
+  VObjectType getType() {
+    return (m_fileContents.size()) ? m_fileContents[0]->Type(m_nodeIds[0])
+                                   : VObjectType::slN_input_gate_instance;
+  }
+  bool isInstance();
+  unsigned int getSize();
+
+  typedef std::map<SymbolId, ClockingBlock> ClockingBlockMap;
+  typedef std::map<SymbolId, std::vector<Signal>> ModPortSignalMap;
+  typedef std::map<SymbolId, std::vector<ClockingBlock>>
+      ModPortClockingBlockMap;
+
+  ModPortSignalMap& getModPortSignalMap() { return m_modportSignalMap; }
+  ModPortClockingBlockMap& getModPortClockingBlockMap() {
+    return m_modportClockingBlockMap;
+  }
+  void insertModPort(SymbolId modport, Signal& signal);
+  void insertModPort(SymbolId modport, ClockingBlock& block);
+  Signal* getModPortSignal(SymbolId modport, NodeId port);
+  ClockingBlock* getModPortClockingBlock(SymbolId modport, NodeId port);
+
+  ClassNameClassDefinitionMultiMap& getClassDefinitions() {
+    return m_classDefinitions;
+  }
+  void addClassDefinition(std::string className, ClassDefinition* classDef) {
+    m_classDefinitions.insert(std::make_pair(className, classDef));
+  }
+  ClassDefinition* getClassDefinition(const std::string& name);
+
+  std::vector<Signal>& getPorts() { return m_ports; }
+  std::vector<Signal>& getSignals() { return m_signals; }
+
+ private:
+  std::string m_name;
+  std::vector<Signal> m_ports;
+  std::vector<Signal> m_signals;
+  ModPortSignalMap m_modportSignalMap;
+  ModPortClockingBlockMap m_modportClockingBlockMap;
+  ClassNameClassDefinitionMultiMap m_classDefinitions;
 };
 
-
-
 class ModuleDefinitionFactory {
-    public:
-        ModuleDefinition* newModuleDefinition(FileContent* fileContent, 
-                                              NodeId nodeId, 
-                                              std::string name); 
-        
+ public:
+  ModuleDefinition* newModuleDefinition(FileContent* fileContent, NodeId nodeId,
+                                        std::string name);
 };
 
-
-};
+};  // namespace SURELOG
 
 #endif /* MODULEDEFINITION_H */
-
-
diff --git a/SVIncCompil/Design/ModuleInstance.h b/SVIncCompil/Design/ModuleInstance.h
index 3f57627..6675912 100644
--- a/SVIncCompil/Design/ModuleInstance.h
+++ b/SVIncCompil/Design/ModuleInstance.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   ModuleInstance.h
  * Author: alain
  *
@@ -31,56 +31,58 @@
 
 namespace SURELOG {
 
-
 class ModuleInstance : public ValuedComponentI {
-public:
-    ModuleInstance(DesignComponent* definition, FileContent* fileContent, NodeId nodeId, ModuleInstance* parent, 
-                   std::string instName, std::string moduleName);
-    virtual ~ModuleInstance();
-    void addSubInstances(ModuleInstance** subInstances, unsigned int nbSubInstances);
-    DesignComponent*  getDefinition()  { return m_definition; }
-    unsigned int      getNbChildren()  { return m_nbChildren; }
-    ModuleInstance*   getChildren(unsigned int i) { return m_childrens[i]; }
-    ModuleInstance*   getParent()      { return m_parent; } 
-    FileContent*      getFileContent() { return m_fileContent; } 
-    SymbolId          getFileId()      { return m_fileContent->getFileId(m_nodeId); } 
-    std::string       getFileName()    { return m_fileContent->getFileName(m_nodeId); }
-    NodeId            getNodeId()      { return m_nodeId; }
-    unsigned int      getLineNb();
-    VObjectType       getType();
-    VObjectType       getModuleType();
-    SymbolId          getFullPathId(SymbolTable* symbols);
-    SymbolId          getInstanceId(SymbolTable* symbols);
-    SymbolId          getModuleNameId(SymbolTable* symbols);
-    std::string       getInstanceName();
-    std::string       getFullPathName();
-    std::string       getModuleName();
-    unsigned int      getDepth();
- 
-    void              setNodeId(NodeId id) { m_nodeId = id; } // Used for generate stmt
-    void              overrideParentChild(ModuleInstance* parent, ModuleInstance* interm, ModuleInstance* child);
-private:
-    DesignComponent* m_definition;
-    ModuleInstance**  m_childrens;
-    unsigned int      m_nbChildren;
-    FileContent*      m_fileContent; 
-    NodeId            m_nodeId;
-    ModuleInstance*   m_parent;
-    std::string       m_instName; // Can carry the moduleName@instanceName if the module is undefined
-    std::map<std::string, Value*> m_paramMap;
-    
-};
+ public:
+  ModuleInstance(DesignComponent* definition, FileContent* fileContent,
+                 NodeId nodeId, ModuleInstance* parent, std::string instName,
+                 std::string moduleName);
+  virtual ~ModuleInstance();
+  void addSubInstances(ModuleInstance** subInstances,
+                       unsigned int nbSubInstances);
+  DesignComponent* getDefinition() { return m_definition; }
+  unsigned int getNbChildren() { return m_nbChildren; }
+  ModuleInstance* getChildren(unsigned int i) { return m_childrens[i]; }
+  ModuleInstance* getParent() { return m_parent; }
+  FileContent* getFileContent() { return m_fileContent; }
+  SymbolId getFileId() { return m_fileContent->getFileId(m_nodeId); }
+  std::string getFileName() { return m_fileContent->getFileName(m_nodeId); }
+  NodeId getNodeId() { return m_nodeId; }
+  unsigned int getLineNb();
+  VObjectType getType();
+  VObjectType getModuleType();
+  SymbolId getFullPathId(SymbolTable* symbols);
+  SymbolId getInstanceId(SymbolTable* symbols);
+  SymbolId getModuleNameId(SymbolTable* symbols);
+  std::string getInstanceName();
+  std::string getFullPathName();
+  std::string getModuleName();
+  unsigned int getDepth();
 
+  void setNodeId(NodeId id) { m_nodeId = id; }  // Used for generate stmt
+  void overrideParentChild(ModuleInstance* parent, ModuleInstance* interm,
+                           ModuleInstance* child);
+
+ private:
+  DesignComponent* m_definition;
+  ModuleInstance** m_childrens;
+  unsigned int m_nbChildren;
+  FileContent* m_fileContent;
+  NodeId m_nodeId;
+  ModuleInstance* m_parent;
+  std::string m_instName;  // Can carry the moduleName@instanceName if the
+                           // module is undefined
+  std::map<std::string, Value*> m_paramMap;
+};
 
 class ModuleInstanceFactory {
-    public:
-        ModuleInstance* newModuleInstance(DesignComponent* definition, FileContent* fileContent, NodeId nodeId, ModuleInstance* parent, 
-                                          std::string instName, std::string moduleName); 
-        
+ public:
+  ModuleInstance* newModuleInstance(DesignComponent* definition,
+                                    FileContent* fileContent, NodeId nodeId,
+                                    ModuleInstance* parent,
+                                    std::string instName,
+                                    std::string moduleName);
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* MODULEINSTANCE_H */
-
-
diff --git a/SVIncCompil/Design/Parameter.h b/SVIncCompil/Design/Parameter.h
index 8fb51c4..d58338b 100644
--- a/SVIncCompil/Design/Parameter.h
+++ b/SVIncCompil/Design/Parameter.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Parameter.h
  * Author: alain
  *
@@ -30,18 +30,16 @@
 namespace SURELOG {
 
 class Parameter : public DataType {
-public:
-    Parameter(FileContent* fC, NodeId nodeId, std::string name, NodeId node_type);
-  
-    VObjectType getType() { return getFileContent()->Type(m_ntype); }
-    virtual ~Parameter();
-private:
-    NodeId       m_ntype;
+ public:
+  Parameter(FileContent* fC, NodeId nodeId, std::string name, NodeId node_type);
 
+  VObjectType getType() { return getFileContent()->Type(m_ntype); }
+  virtual ~Parameter();
+
+ private:
+  NodeId m_ntype;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* PARAMETER_H */
-
-
diff --git a/SVIncCompil/Design/Scope.h b/SVIncCompil/Design/Scope.h
index e705e16..bd6757b 100644
--- a/SVIncCompil/Design/Scope.h
+++ b/SVIncCompil/Design/Scope.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Scope.h
  * Author: alain
  *
@@ -34,55 +34,47 @@
 
 namespace SURELOG {
 
-    class Scope {
-    public:
+class Scope {
+ public:
+  Scope(std::string name, Scope* parent)
+      : m_name(name), m_parentScope(parent) {}
+  typedef std::map<std::string, Variable*> VariableMap;
+  typedef std::map<std::string, DataType*> DataTypeMap;
+  typedef std::vector<Statement*> StmtVector;
+  typedef std::vector<Scope*> ScopeVector;
+  virtual ~Scope() {}
 
-        Scope(std::string name, Scope* parent) : m_name(name), m_parentScope(parent) {
-        }
-        typedef std::map<std::string, Variable*> VariableMap;
-        typedef std::map<std::string, DataType*> DataTypeMap;
-        typedef std::vector<Statement*> StmtVector;
-        typedef std::vector<Scope*>     ScopeVector;
-        virtual ~Scope() {
-        }
+  std::string getName() { return m_name; }
+  Scope* getParentScope() { return m_parentScope; }
 
-        std::string getName() { return m_name; }
-        Scope* getParentScope() {return m_parentScope; }
-        
-        void addVariable(Variable* var) {
-            m_variables.insert(std::make_pair(var->getName(), var));
-        }
+  void addVariable(Variable* var) {
+    m_variables.insert(std::make_pair(var->getName(), var));
+  }
 
-        VariableMap& getVariables() {
-            return m_variables;
-        }
-        Variable* getVariable(std::string name);
+  VariableMap& getVariables() { return m_variables; }
+  Variable* getVariable(std::string name);
 
-        DataTypeMap& getUsedDataTypeMap() {
-            return m_usedDataTypes;
-        }
-        DataType* getUsedDataType(const std::string& name);
-        void insertUsedDataType(const std::string& dataTypeName, DataType* dataType) { m_usedDataTypes.insert(std::make_pair(dataTypeName, dataType)); }
-        
-        void         addStmt(Statement* stmt) { m_statements.push_back(stmt); }
-        StmtVector&  getStmts() { return m_statements; } 
-        
-        void         addScope(Scope* scope) { m_scopes.push_back(scope); }
-        ScopeVector& getScopes() { return m_scopes; } 
-        
-    private:
-        std::string m_name;
-        Scope*      m_parentScope;
-        VariableMap m_variables;
-        DataTypeMap m_usedDataTypes;
-        StmtVector  m_statements;
-        ScopeVector m_scopes;
-    };       
-    
+  DataTypeMap& getUsedDataTypeMap() { return m_usedDataTypes; }
+  DataType* getUsedDataType(const std::string& name);
+  void insertUsedDataType(const std::string& dataTypeName, DataType* dataType) {
+    m_usedDataTypes.insert(std::make_pair(dataTypeName, dataType));
+  }
 
-    
+  void addStmt(Statement* stmt) { m_statements.push_back(stmt); }
+  StmtVector& getStmts() { return m_statements; }
+
+  void addScope(Scope* scope) { m_scopes.push_back(scope); }
+  ScopeVector& getScopes() { return m_scopes; }
+
+ private:
+  std::string m_name;
+  Scope* m_parentScope;
+  VariableMap m_variables;
+  DataTypeMap m_usedDataTypes;
+  StmtVector m_statements;
+  ScopeVector m_scopes;
 };
 
+};  // namespace SURELOG
+
 #endif /* SCOPE_H */
-
-
diff --git a/SVIncCompil/Design/Signal.h b/SVIncCompil/Design/Signal.h
index 2e32769..9bdd403 100644
--- a/SVIncCompil/Design/Signal.h
+++ b/SVIncCompil/Design/Signal.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Signal.h
  * Author: alain
  *
@@ -26,41 +26,44 @@
 
 #include "FileContent.h"
 
-
 namespace SURELOG {
 
-
 class Signal {
-public:
-      
-    Signal(FileContent* fileContent, NodeId node, VObjectType type, VObjectType direction);
-    Signal(FileContent* fileContent, NodeId interfaceDef, NodeId interfaceName);
-    virtual ~Signal();
-    
-    VObjectType getType() { return m_type; }
-    VObjectType getDirection() { return m_direction; }
-    FileContent* getFileContent() { return m_fileContent; }
-    NodeId getNodeId() { return m_nodeId; }
-    std::string getName() { return m_fileContent->SymName(m_nodeId); }
-    
-    std::string getInterfaceTypeName() { return m_fileContent->SymName(m_nodeId); }
-    std::string getInterfaceName() { return m_fileContent->SymName(m_interfaceNameId); }
-    ModuleDefinition* getInterfaceDef() { return m_interfaceDef; }
-    void setInterfaceDef(ModuleDefinition* interfaceDef) { m_interfaceDef = interfaceDef; }
-    void setDirection(VObjectType direction) { m_direction = direction;}
-    void setType(VObjectType type) { m_type = type;}
-    bool isInterface() { return (m_interfaceNameId != 0); }
-private:
-    FileContent* m_fileContent;
-    NodeId       m_nodeId;
-    VObjectType  m_type;
-    VObjectType  m_direction;
-    ModuleDefinition* m_interfaceDef;
-    NodeId       m_interfaceNameId;
+ public:
+  Signal(FileContent* fileContent, NodeId node, VObjectType type,
+         VObjectType direction);
+  Signal(FileContent* fileContent, NodeId interfaceDef, NodeId interfaceName);
+  virtual ~Signal();
+
+  VObjectType getType() { return m_type; }
+  VObjectType getDirection() { return m_direction; }
+  FileContent* getFileContent() { return m_fileContent; }
+  NodeId getNodeId() { return m_nodeId; }
+  std::string getName() { return m_fileContent->SymName(m_nodeId); }
+
+  std::string getInterfaceTypeName() {
+    return m_fileContent->SymName(m_nodeId);
+  }
+  std::string getInterfaceName() {
+    return m_fileContent->SymName(m_interfaceNameId);
+  }
+  ModuleDefinition* getInterfaceDef() { return m_interfaceDef; }
+  void setInterfaceDef(ModuleDefinition* interfaceDef) {
+    m_interfaceDef = interfaceDef;
+  }
+  void setDirection(VObjectType direction) { m_direction = direction; }
+  void setType(VObjectType type) { m_type = type; }
+  bool isInterface() { return (m_interfaceNameId != 0); }
+
+ private:
+  FileContent* m_fileContent;
+  NodeId m_nodeId;
+  VObjectType m_type;
+  VObjectType m_direction;
+  ModuleDefinition* m_interfaceDef;
+  NodeId m_interfaceNameId;
 };
 
-}
+}  // namespace SURELOG
 
 #endif /* SIGNAL_H */
-
-
diff --git a/SVIncCompil/Design/Statement.h b/SVIncCompil/Design/Statement.h
index 033980d..35a036c 100644
--- a/SVIncCompil/Design/Statement.h
+++ b/SVIncCompil/Design/Statement.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Statement.h
  * Author: alain
  *
@@ -31,118 +31,135 @@
 #include "Scope.h"
 
 namespace SURELOG {
-    
-    class Statement {
-    public:
-        typedef std::vector<Statement*>     StatementVector;
-        Statement(Scope* scope, Statement* parentStmt, FileContent* fileContent, NodeId node, VObjectType type) : 
-            m_scope(scope), m_parent(parentStmt), m_fileContent(fileContent), m_nodeId(node), m_type(type) {
-        }
-        virtual ~Statement();
 
-        Scope*  getScope() { return m_scope; }
-        Statement* getParentStmt() { return m_parent; }
-        
-        VObjectType getType() {
-            return m_type;
-        }
+class Statement {
+ public:
+  typedef std::vector<Statement*> StatementVector;
+  Statement(Scope* scope, Statement* parentStmt, FileContent* fileContent,
+            NodeId node, VObjectType type)
+      : m_scope(scope),
+        m_parent(parentStmt),
+        m_fileContent(fileContent),
+        m_nodeId(node),
+        m_type(type) {}
+  virtual ~Statement();
 
-        FileContent* getFileContent() {
-            return m_fileContent;
-        }
+  Scope* getScope() { return m_scope; }
+  Statement* getParentStmt() { return m_parent; }
 
-        NodeId getNodeId() {
-            return m_nodeId;
-        }
+  VObjectType getType() { return m_type; }
 
-        virtual Function* getFunction() { return NULL; }
-        virtual void setFunction(Function* function) { }
-        
-        void         addStatement(Statement* statement) { m_statements.push_back(statement); }
-        StatementVector& getStatements() { return m_statements; } 
-        
-    private:
-        Scope*   m_scope;
-        Statement* m_parent;
-        FileContent* m_fileContent;
-        NodeId m_nodeId;
-        VObjectType m_type;
-        StatementVector m_statements;
-    };
-    
-    class SubRoutineArg {
-       public:
-        SubRoutineArg(NodeId node, Value* value) : m_nodeId(node), m_value(value) { }
-        NodeId getNodeId() { return m_nodeId; }
-        Value* getValue() { return m_value; }
-    private:
-        NodeId m_nodeId;
-        Value* m_value;
-    };
-    
-    
-    class SubRoutineCallStmt : public Statement {
-    public:
-        SubRoutineCallStmt(Scope* scope, Statement* parentStmt, FileContent* fileContent, NodeId node, VObjectType type, 
-                           std::vector<NodeId>& var_chain, std::string funcName, 
-                           std::vector<SubRoutineArg*>& args, bool static_call, bool system_call) : 
-                           Statement(scope, parentStmt, fileContent, node, type),
-                           m_var_chain(var_chain), m_func(funcName), m_args(args), m_static(static_call), m_system(system_call) {m_function = NULL;};
-        std::vector<NodeId>& getVarChain() { return m_var_chain; }
-        std::string getVarName(NodeId base_name);
-        std::vector<std::string> getVarChainNames();
-        std::string getFunc() { return m_func; } 
-        bool isStatic() { return m_static; }
-        bool isSystemCall() { return m_system; }
-        Function* getFunction() { return m_function; }
-        void setFunction(Function* function) { m_function = function; }
-    private:
-        std::vector<NodeId> m_var_chain;
-        std::string m_func;
-        std::vector<SubRoutineArg*> m_args;
-        bool m_static;
-        bool m_system;
-        Function* m_function;
-    };
-    
-    class ForLoopStmt : public Scope, public Statement {
-    public:
-        ForLoopStmt(std::string name, Scope* scope, Statement* parentStmt, FileContent* fileContent, NodeId node, VObjectType type) :
-        Scope(name, scope), Statement(scope, parentStmt, fileContent, node, type), m_conditionId(0), m_iteratorType(VObjectType::slNoType) {}
- 
-        void addIteratorId(NodeId itrId, NodeId init_expression) { m_iteratorIds.push_back(std::make_pair(itrId, init_expression)); }
-        std::vector<std::pair<NodeId, NodeId>>& getIteratorIds() { return m_iteratorIds; }
-        void setIteratorType(VObjectType type) { m_iteratorType = type; }
-        VObjectType getIteratorType() { return m_iteratorType; }
-        void addIteratorStepId(NodeId itrId) { m_stepIds.push_back(itrId); }
-        std::vector<NodeId>& getIteratorStepIds() { return m_stepIds; }
-        void setConditionId(NodeId id) { m_conditionId = id; }
-        NodeId getConditionId() { return m_conditionId; }
-    private:
-        std::vector<std::pair<NodeId, NodeId>> m_iteratorIds;
-        std::vector<NodeId> m_stepIds;
-        NodeId              m_conditionId;
-        VObjectType         m_iteratorType;
-    };
-    
-    class ForeachLoopStmt : public Scope, public Statement {
-    public:
-        ForeachLoopStmt(std::string name, NodeId arrayId, Scope* scope, Statement* parentStmt, FileContent* fileContent, NodeId node, VObjectType type) :
-        Scope(name, scope), Statement(scope, parentStmt, fileContent, node, type), m_arrayId(arrayId) {}
-        
-        NodeId getArrayId() { return m_arrayId; }
-        
-        void addIteratorId(NodeId itrId) { m_iteratorIds.push_back(itrId); }
-        std::vector<NodeId>& getIteratorIds() { return m_iteratorIds; }
-        
-    private:
-        NodeId m_arrayId;
-        std::vector<NodeId> m_iteratorIds;
+  FileContent* getFileContent() { return m_fileContent; }
 
-    };
-    
+  NodeId getNodeId() { return m_nodeId; }
+
+  virtual Function* getFunction() { return NULL; }
+  virtual void setFunction(Function* function) {}
+
+  void addStatement(Statement* statement) { m_statements.push_back(statement); }
+  StatementVector& getStatements() { return m_statements; }
+
+ private:
+  Scope* m_scope;
+  Statement* m_parent;
+  FileContent* m_fileContent;
+  NodeId m_nodeId;
+  VObjectType m_type;
+  StatementVector m_statements;
 };
 
+class SubRoutineArg {
+ public:
+  SubRoutineArg(NodeId node, Value* value) : m_nodeId(node), m_value(value) {}
+  NodeId getNodeId() { return m_nodeId; }
+  Value* getValue() { return m_value; }
+
+ private:
+  NodeId m_nodeId;
+  Value* m_value;
+};
+
+class SubRoutineCallStmt : public Statement {
+ public:
+  SubRoutineCallStmt(Scope* scope, Statement* parentStmt,
+                     FileContent* fileContent, NodeId node, VObjectType type,
+                     std::vector<NodeId>& var_chain, std::string funcName,
+                     std::vector<SubRoutineArg*>& args, bool static_call,
+                     bool system_call)
+      : Statement(scope, parentStmt, fileContent, node, type),
+        m_var_chain(var_chain),
+        m_func(funcName),
+        m_args(args),
+        m_static(static_call),
+        m_system(system_call) {
+    m_function = NULL;
+  };
+  std::vector<NodeId>& getVarChain() { return m_var_chain; }
+  std::string getVarName(NodeId base_name);
+  std::vector<std::string> getVarChainNames();
+  std::string getFunc() { return m_func; }
+  bool isStatic() { return m_static; }
+  bool isSystemCall() { return m_system; }
+  Function* getFunction() { return m_function; }
+  void setFunction(Function* function) { m_function = function; }
+
+ private:
+  std::vector<NodeId> m_var_chain;
+  std::string m_func;
+  std::vector<SubRoutineArg*> m_args;
+  bool m_static;
+  bool m_system;
+  Function* m_function;
+};
+
+class ForLoopStmt : public Scope, public Statement {
+ public:
+  ForLoopStmt(std::string name, Scope* scope, Statement* parentStmt,
+              FileContent* fileContent, NodeId node, VObjectType type)
+      : Scope(name, scope),
+        Statement(scope, parentStmt, fileContent, node, type),
+        m_conditionId(0),
+        m_iteratorType(VObjectType::slNoType) {}
+
+  void addIteratorId(NodeId itrId, NodeId init_expression) {
+    m_iteratorIds.push_back(std::make_pair(itrId, init_expression));
+  }
+  std::vector<std::pair<NodeId, NodeId>>& getIteratorIds() {
+    return m_iteratorIds;
+  }
+  void setIteratorType(VObjectType type) { m_iteratorType = type; }
+  VObjectType getIteratorType() { return m_iteratorType; }
+  void addIteratorStepId(NodeId itrId) { m_stepIds.push_back(itrId); }
+  std::vector<NodeId>& getIteratorStepIds() { return m_stepIds; }
+  void setConditionId(NodeId id) { m_conditionId = id; }
+  NodeId getConditionId() { return m_conditionId; }
+
+ private:
+  std::vector<std::pair<NodeId, NodeId>> m_iteratorIds;
+  std::vector<NodeId> m_stepIds;
+  NodeId m_conditionId;
+  VObjectType m_iteratorType;
+};
+
+class ForeachLoopStmt : public Scope, public Statement {
+ public:
+  ForeachLoopStmt(std::string name, NodeId arrayId, Scope* scope,
+                  Statement* parentStmt, FileContent* fileContent, NodeId node,
+                  VObjectType type)
+      : Scope(name, scope),
+        Statement(scope, parentStmt, fileContent, node, type),
+        m_arrayId(arrayId) {}
+
+  NodeId getArrayId() { return m_arrayId; }
+
+  void addIteratorId(NodeId itrId) { m_iteratorIds.push_back(itrId); }
+  std::vector<NodeId>& getIteratorIds() { return m_iteratorIds; }
+
+ private:
+  NodeId m_arrayId;
+  std::vector<NodeId> m_iteratorIds;
+};
+
+};  // namespace SURELOG
+
 #endif /* STATEMENT_H */
-
-
diff --git a/SVIncCompil/Design/Task.h b/SVIncCompil/Design/Task.h
index ce10079..fa4bfe4 100644
--- a/SVIncCompil/Design/Task.h
+++ b/SVIncCompil/Design/Task.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   Task.h
  * Author: alain
  *
@@ -31,15 +31,15 @@
 namespace SURELOG {
 
 class Task : public Procedure {
-public:
-    Task(DesignComponent* parent, FileContent* fC, NodeId id, std::string name) : Procedure(parent, fC, id, name) {}
-    bool    compile(CompileHelper& compile_helper);
-    virtual ~Task();
-private:
+ public:
+  Task(DesignComponent* parent, FileContent* fC, NodeId id, std::string name)
+      : Procedure(parent, fC, id, name) {}
+  bool compile(CompileHelper& compile_helper);
+  virtual ~Task();
+
+ private:
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* TASK_H */
-
-
diff --git a/SVIncCompil/Design/TfPortItem.h b/SVIncCompil/Design/TfPortItem.h
index 127f4ad..bcb3f99 100644
--- a/SVIncCompil/Design/TfPortItem.h
+++ b/SVIncCompil/Design/TfPortItem.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   TfPortItem.h
  * Author: alain
  *
@@ -29,27 +29,28 @@
 namespace SURELOG {
 class Procedure;
 class Value;
-   
+
 class TfPortItem : public Variable {
-public:
-    TfPortItem(Procedure* parent, FileContent* fc, NodeId id, NodeId range,std::string name, DataType* type, Value* default_value, VObjectType direction) : 
-          Variable(type, fc, id, range, name), 
-       m_parent(parent), m_default(default_value), m_direction(direction) {}     
-    virtual ~TfPortItem();
-    
-    Procedure*   getParent() { return m_parent; }
-    Value*       getDefault() { return m_default; }
-    VObjectType  getDirection() { return m_direction; }
-private:
-    Procedure*  m_parent;
-    Value*      m_default;
-    VObjectType m_direction;
+ public:
+  TfPortItem(Procedure* parent, FileContent* fc, NodeId id, NodeId range,
+             std::string name, DataType* type, Value* default_value,
+             VObjectType direction)
+      : Variable(type, fc, id, range, name),
+        m_parent(parent),
+        m_default(default_value),
+        m_direction(direction) {}
+  virtual ~TfPortItem();
+
+  Procedure* getParent() { return m_parent; }
+  Value* getDefault() { return m_default; }
+  VObjectType getDirection() { return m_direction; }
+
+ private:
+  Procedure* m_parent;
+  Value* m_default;
+  VObjectType m_direction;
 };
 
-};
-
-
+};  // namespace SURELOG
 
 #endif /* TFPORTITEM_H */
-
-
diff --git a/SVIncCompil/Design/TimeInfo.h b/SVIncCompil/Design/TimeInfo.h
index 4ef75d3..c38a330 100644
--- a/SVIncCompil/Design/TimeInfo.h
+++ b/SVIncCompil/Design/TimeInfo.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   TimeInfo.h
  * Author: alain
  *
@@ -27,39 +27,39 @@
 namespace SURELOG {
 
 class TimeInfo {
-public:
-    TimeInfo() : m_type(None), m_fileId(0), m_line(0), m_timeUnit(Second), m_timeUnitValue(0.0f), m_timePrecision(Second), m_timePrecisionValue(0.0f) {}
-    virtual ~TimeInfo();
-    typedef enum { 
-        None,
-        Timescale,
-        TimeUnitTimePrecision        
-    } Type;
-    typedef enum { 
-        Second,
-        Millisecond,
-        Microsecond,
-        Nanosecond,        
-        Picosecond,
-        Femtosecond              
-    } Unit;
-    
-    Type m_type;
-    SymbolId m_fileId;
-    unsigned int m_line;
-    Unit m_timeUnit;
-    double m_timeUnitValue;    
-    Unit m_timePrecision;
-    double m_timePrecisionValue;
-    
-    static Unit unitFromString(std::string s);
-        
-private:
-    
+ public:
+  TimeInfo()
+      : m_type(None),
+        m_fileId(0),
+        m_line(0),
+        m_timeUnit(Second),
+        m_timeUnitValue(0.0f),
+        m_timePrecision(Second),
+        m_timePrecisionValue(0.0f) {}
+  virtual ~TimeInfo();
+  typedef enum { None, Timescale, TimeUnitTimePrecision } Type;
+  typedef enum {
+    Second,
+    Millisecond,
+    Microsecond,
+    Nanosecond,
+    Picosecond,
+    Femtosecond
+  } Unit;
+
+  Type m_type;
+  SymbolId m_fileId;
+  unsigned int m_line;
+  Unit m_timeUnit;
+  double m_timeUnitValue;
+  Unit m_timePrecision;
+  double m_timePrecisionValue;
+
+  static Unit unitFromString(std::string s);
+
+ private:
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* TIMEINFO_H */
-
-
diff --git a/SVIncCompil/Design/VObject.h b/SVIncCompil/Design/VObject.h
index 46f8b46..b7a645b 100644
--- a/SVIncCompil/Design/VObject.h
+++ b/SVIncCompil/Design/VObject.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   VObject.h
  * Author: alain
  *
@@ -28,39 +28,48 @@
 #include "../SourceCompile/VObjectTypes.h"
 
 namespace SURELOG {
-    
-    class VObject {
-    public:
 
-        VObject(SymbolId name, SymbolId fileId, VObjectType type, unsigned int line, NodeId parent = 0) :
-        m_name(name), m_fileId(fileId), m_type(type), m_line(line), m_parent(parent),
-        m_definition(0), m_child(0), m_sibling(0) {
-        }
-        VObject(SymbolId name, SymbolId fileId, VObjectType type, unsigned int line, NodeId parent, 
-        NodeId definition, NodeId child, NodeId sibling) :
-        m_name(name), m_fileId(fileId), m_type(type), m_line(line), m_parent(parent),
-        m_definition(definition), m_child(child), m_sibling(sibling) {
-        }
-                
-        virtual ~VObject();
-        
-        static std::string getTypeName(unsigned short type);
-        
-        std::string print(SymbolTable* symbols, unsigned int uniqueId, NodeId definitionFile);
-        SymbolId m_name;
-        SymbolId m_fileId; 
-        unsigned short m_type;
-        unsigned int m_line;
-        NodeId m_parent;
-        NodeId m_definition;
-        NodeId m_child;
-        NodeId m_sibling;
-    private:
+class VObject {
+ public:
+  VObject(SymbolId name, SymbolId fileId, VObjectType type, unsigned int line,
+          NodeId parent = 0)
+      : m_name(name),
+        m_fileId(fileId),
+        m_type(type),
+        m_line(line),
+        m_parent(parent),
+        m_definition(0),
+        m_child(0),
+        m_sibling(0) {}
+  VObject(SymbolId name, SymbolId fileId, VObjectType type, unsigned int line,
+          NodeId parent, NodeId definition, NodeId child, NodeId sibling)
+      : m_name(name),
+        m_fileId(fileId),
+        m_type(type),
+        m_line(line),
+        m_parent(parent),
+        m_definition(definition),
+        m_child(child),
+        m_sibling(sibling) {}
 
-    };
+  virtual ~VObject();
 
+  static std::string getTypeName(unsigned short type);
+
+  std::string print(SymbolTable* symbols, unsigned int uniqueId,
+                    NodeId definitionFile);
+  SymbolId m_name;
+  SymbolId m_fileId;
+  unsigned short m_type;
+  unsigned int m_line;
+  NodeId m_parent;
+  NodeId m_definition;
+  NodeId m_child;
+  NodeId m_sibling;
+
+ private:
 };
 
+};  // namespace SURELOG
+
 #endif /* VOBJECT_H */
-
-
diff --git a/SVIncCompil/Design/ValuedComponentI.h b/SVIncCompil/Design/ValuedComponentI.h
index 8784471..d9e4ab7 100644
--- a/SVIncCompil/Design/ValuedComponentI.h
+++ b/SVIncCompil/Design/ValuedComponentI.h
@@ -1,12 +1,12 @@
 /*
  Copyright 2019 Alain Dargelas
- 
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
- 
+
  http://www.apache.org/licenses/LICENSE-2.0
- 
+
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,7 +14,7 @@
  limitations under the License.
  */
 
-/* 
+/*
  * File:   ValuedComponent.h
  * Author: alain
  *
@@ -27,24 +27,24 @@
 namespace SURELOG {
 
 class ExprBuilder;
-    
+
 class ValuedComponentI {
-public:
-    ValuedComponentI(ValuedComponentI* parentScope) : m_parentScope(parentScope) {};
-    virtual ~ValuedComponentI() {};
-    virtual Value*       getValue(std::string name);
-    virtual void         setValue(std::string name, Value* val, ExprBuilder& exprBuilder);
-    std::vector<Value*>& getValues()    { return m_paramValues; }
-    std::map<std::string, Value*>& getMappedValues() { return m_paramMap; }
-    ValuedComponentI*    getParentScope() { return m_parentScope; }
-private:
-    ValuedComponentI*             m_parentScope;
-    std::vector<Value*>           m_paramValues;
-    std::map<std::string, Value*> m_paramMap;
+ public:
+  ValuedComponentI(ValuedComponentI* parentScope)
+      : m_parentScope(parentScope){};
+  virtual ~ValuedComponentI(){};
+  virtual Value* getValue(std::string name);
+  virtual void setValue(std::string name, Value* val, ExprBuilder& exprBuilder);
+  std::vector<Value*>& getValues() { return m_paramValues; }
+  std::map<std::string, Value*>& getMappedValues() { return m_paramMap; }
+  ValuedComponentI* getParentScope() { return m_parentScope; }
+
+ private:
+  ValuedComponentI* m_parentScope;
+  std::vector<Value*> m_paramValues;
+  std::map<std::string, Value*> m_paramMap;
 };
 
-};
+};  // namespace SURELOG
 
 #endif /* VALUEDCOMPONENTI_H */
-
-