mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
ZoneCodeGenerator: Move usages postprocessor to be post commandfile instead of post headerfile
This commit is contained in:
parent
03a6c4020c
commit
3ba1f6d5f9
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user