Esempio n. 1
0
 public void  Analyzer()
 {
     initFileManager();
     Analyze();
     results = new TypeTable(analyzer.userDefinedTypes);
 }
Esempio n. 2
0
 public GetRelationshipTable(string _rootFolder, TypeTable _interestedTypes, TypeTable _allTypes)
 {
     rootFolder = _rootFolder;
     analyzer   = new TypeRelationshipAnalyzer(_interestedTypes, _allTypes);
     fm         = new FileManager();
 }
Esempio n. 3
0
 public AddRelationship(Repository repo, TypeTable _interestedTypes, TypeTable _allLocallyDeclaredTypes)
 {
     repo_                   = repo;
     interestedTypes         = _interestedTypes;
     allLocallyDeclaredTypes = _allLocallyDeclaredTypes;
 }
Esempio n. 4
0
 private void AddActions(TypeTable interestedTypes, TypeTable allTypes, out PushStack push, out AddRelationship addRelationship)
 {
     // action used for namespaces, classes, and functions
     push            = new PushStack(repo);
     addRelationship = new AddRelationship(repo, interestedTypes, allTypes);
 }
Esempio n. 5
0
        // Parses the files to extract the user defined types

        public TypeRelationshipAnalyzer(TypeTable _interestedTypes, TypeTable _allTypes)
        {
            interestedTypes   = _interestedTypes;
            allTypes          = _allTypes;
            relationshipTable = new RelationshipTable();
        }