//public StructDeclarationTranslation() { } public StructDeclarationTranslation(StructDeclarationSyntax syntax, SyntaxTranslation parent) : base(syntax, parent) { if(BaseList == null) { BaseList = new BaseListTranslation(); BaseList.Parent = this; BaseList.Types = new SeparatedSyntaxListTranslation<BaseTypeSyntax, BaseTypeTranslation>(); BaseList.Types.Parent = BaseList; } //BaseList.Types.Add(new BaseTypeTranslation() { SyntaxString = TC.IStruct }); }
//public StructDeclarationTranslation() { } public StructDeclarationTranslation(StructDeclarationSyntax syntax, SyntaxTranslation parent) : base(syntax, parent) { if (BaseList == null) { BaseList = new BaseListTranslation(); BaseList.Parent = this; BaseList.Types = new SeparatedSyntaxListTranslation <BaseTypeSyntax, BaseTypeTranslation>(); BaseList.Types.Parent = BaseList; } //BaseList.Types.Add(new BaseTypeTranslation() { SyntaxString = TC.IStruct }); }