ZoneCodeGenerator: Move usages postprocessor to be post commandfile instead of post headerfile

This commit is contained in:
Jan 2019-09-28 13:14:23 +02:00
parent 03a6c4020c
commit 3ba1f6d5f9
3 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,6 @@
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using ZoneCodeGenerator.Parsing.C_Header.Impl; using ZoneCodeGenerator.Parsing.C_Header.Impl;
using ZoneCodeGenerator.Parsing.C_Header.PostProcessor;
using ZoneCodeGenerator.Parsing.Impl; using ZoneCodeGenerator.Parsing.Impl;
using ZoneCodeGenerator.Persistence; using ZoneCodeGenerator.Persistence;
@ -12,7 +11,7 @@ namespace ZoneCodeGenerator.Parsing.C_Header
{ {
private static readonly IDataPostProcessor[] postProcessors = private static readonly IDataPostProcessor[] postProcessors =
{ {
new PostProcessorUsages(),
}; };
public static IDataRepository ReadFile(string path, bool verbose = false) public static IDataRepository ReadFile(string path, bool verbose = false)

View File

@ -14,6 +14,7 @@ namespace ZoneCodeGenerator.Parsing.CommandFile
private static readonly IDataPostProcessor[] postProcessors = private static readonly IDataPostProcessor[] postProcessors =
{ {
new PostProcessorDefaultBlock(), new PostProcessorDefaultBlock(),
new PostProcessorUsages(),
}; };
public static bool ReadFile(string path, CUISession session, bool verbose = false) public static bool ReadFile(string path, CUISession session, bool verbose = false)

View File

@ -1,11 +1,8 @@
using System; using System.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZoneCodeGenerator.Domain; using ZoneCodeGenerator.Domain;
using ZoneCodeGenerator.Persistence; using ZoneCodeGenerator.Persistence;
namespace ZoneCodeGenerator.Parsing.C_Header.PostProcessor namespace ZoneCodeGenerator.Parsing.CommandFile.PostProcessor
{ {
class PostProcessorUsages : IDataPostProcessor class PostProcessorUsages : IDataPostProcessor
{ {