forked from paulirwin/JavaToCSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConversionContext.cs
More file actions
29 lines (23 loc) · 810 Bytes
/
Copy pathConversionContext.cs
File metadata and controls
29 lines (23 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Roslyn.Compilers.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JavaToCSharp
{
public class ConversionContext
{
public ConversionContext(JavaConversionOptions options)
{
PendingAnonymousTypes = new Queue<ClassDeclarationSyntax>();
UsedAnonymousTypeNames = new HashSet<string>();
this.Options = options;
}
public Queue<ClassDeclarationSyntax> PendingAnonymousTypes { get; private set; }
public ISet<string> UsedAnonymousTypeNames { get; private set; }
public JavaConversionOptions Options { get; private set; }
public string RootTypeName { get; set; }
public string LastTypeName { get; set; }
}
}