Skip to content

Commit

Permalink
Move parsing items to separate namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-r-g committed Mar 17, 2023
1 parent 7c791ab commit 3e0fdce
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Source/MochaTool.InteropGen/CodeGen/ManagedCodeGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.CodeDom.Compiler;
using MochaTool.InteropGen.Parsing;
using System.CodeDom.Compiler;
using System.Collections.Immutable;

namespace MochaTool.InteropGen.CodeGen;
Expand Down
3 changes: 2 additions & 1 deletion Source/MochaTool.InteropGen/CodeGen/NativeCodeGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.CodeDom.Compiler;
using MochaTool.InteropGen.Parsing;
using System.CodeDom.Compiler;
using System.Collections.Immutable;

namespace MochaTool.InteropGen.CodeGen;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Immutable;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Represents a class or namespace in C++.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Immutable;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Defines a container for fields and methods defined in C++.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Immutable;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Represents a method in C++.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using MochaTool.InteropGen.Extensions;
using System.Collections.Immutable;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Contains all parsing functionality for C++ header files.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Immutable;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Represents a struct in C++.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Represents a variable in C++. This can be a field, parameter, etc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Xml;

namespace MochaTool.InteropGen;
namespace MochaTool.InteropGen.Parsing;

/// <summary>
/// Contains functionality for parsing vcxproj files.
Expand Down
1 change: 1 addition & 0 deletions Source/MochaTool.InteropGen/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.Extensions.Logging;
using MochaTool.InteropGen.CodeGen;
using MochaTool.InteropGen.Extensions;
using MochaTool.InteropGen.Parsing;

namespace MochaTool.InteropGen;

Expand Down

0 comments on commit 3e0fdce

Please sign in to comment.