Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a4519e7a0This file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.Common.Interfaces;
using Hast.Transformer.Vhdl.Models;
using ICSharpCode.Decompiler.CSharp.Syntax;
using System.Threading.Tasks;
namespace Hast.Transformer.Vhdl.SubTransformers;
/// <summary>
/// Transformer for processing fields in compiler-generated DisplayClasses.
/// </summary>
public interface IDisplayClassFieldTransformer : IDependency
{
/// <summary>
/// Determines if the <paramref name="field"/> belongs to a DisplayClasses.
/// </summary>
bool IsDisplayClassField(FieldDeclaration field);
/// <summary>
/// Transforms the field declaration into relevant VHDL code.
/// </summary>
Task<IMemberTransformerResult> TransformAsync(FieldDeclaration field, IVhdlTransformationContext context);
}