pascalabcnet/Compiler/SemanticTreeConverters/ISemanticTreeConverter.cs
Mikhalkovich Stanislav e603b1fd6d Mikhalkovich в Copyright
Заготовка для школьного плагина образцов кода
2019-07-28 23:53:15 +03:00

53 lines
1 KiB
C#

// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Text;
namespace PascalABCCompiler.SemanticTreeConverters
{
public enum ConverterType
{
Conversion, Analysis, CodeGenerator
}
public enum ExecutionOrder
{
Undefined, First, Last
}
public interface ISemanticTreeConverter
{
string Name
{
get;
}
string Version
{
get;
}
string Description
{
get;
}
string Copyright
{
get;
}
ConverterType ConverterType
{
get;
}
ExecutionOrder ExecutionOrder
{
get;
}
SemanticTree.IProgramNode Convert(PascalABCCompiler.ICompiler Compiler, SemanticTree.IProgramNode ProgramNode);
}
}