public AstDefinedType(AstTypeDefinition type) { this.Definition = type; }
public void MapDefinition(AstTypeDefinition typeAst, TypeDefinition type) { references.Add(typeAst, type); }
protected virtual void AppendTypeDefinition(StringBuilder builder, AstTypeDefinition typeDefinition) { builder.Append(typeDefinition); }
protected override void AppendTypeDefinition(StringBuilder builder, AstTypeDefinition type) { builder.AppendLine("public class " + type.Name); AppendAll(builder, Environment.NewLine, type.Members); builder.AppendLine(); builder.AppendLine("end"); }