Esempio n. 1
0
 public ASTProcessor()
 {
     FunctionProcessor    = new FunctionProcessor(this);
     StructureProcessor   = new StructureProcessor(this);
     EnumerationProcessor = new EnumerationProcessor(this);
     MacroProcessor       = new MacroProcessor(this);
     IgnoreUnitNames      = new HashSet <string>();
 }
Esempio n. 2
0
 public void Process(IEnumerable <TranslationUnit> units)
 {
     foreach (var translationUnit in units)
     {
         MacroProcessor.Process(translationUnit);
         EnumerationProcessor.Process(translationUnit);
         StructureProcessor.Process(translationUnit);
         FunctionProcessor.Process(translationUnit);
     }
 }