Codegen in modidier support
This commit is contained in:
@@ -3,25 +3,27 @@ namespace mROA.Codegen.Templates
|
||||
public class IndexProviderTemplate : TemplateView
|
||||
{
|
||||
private const string TemplateFile = "IndexProvider.cstmpl";
|
||||
|
||||
|
||||
private const string NamespaceTag = "namespace";
|
||||
private const string LevelTag = "level";
|
||||
private const string LenTag = "len";
|
||||
private const string IndexSpanTag = "indexSpan";
|
||||
private const string RemoteTypePairTag = "remoteTypePair";
|
||||
|
||||
public IndexProviderTemplate() : base(TemplateFile) { }
|
||||
|
||||
public IndexProviderTemplate() : base(TemplateFile)
|
||||
{
|
||||
}
|
||||
|
||||
public void DefineNamespace(string value)
|
||||
{
|
||||
Define(NamespaceTag, value);
|
||||
}
|
||||
|
||||
|
||||
public void DefineLevel(string value)
|
||||
{
|
||||
Define(LevelTag, value);
|
||||
}
|
||||
|
||||
|
||||
public void DefineLen(string value)
|
||||
{
|
||||
Define(LenTag, value);
|
||||
@@ -31,7 +33,7 @@ namespace mROA.Codegen.Templates
|
||||
{
|
||||
Insert(IndexSpanTag, value);
|
||||
}
|
||||
|
||||
|
||||
public void InsertRemoteTypePair(string value)
|
||||
{
|
||||
Insert(RemoteTypePairTag, value);
|
||||
|
||||
Reference in New Issue
Block a user