Skip to content

Commit 426572b

Browse files
committed
Generalized method fields to declaration associations.
1 parent ecbe317 commit 426572b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/AST/Declaration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ private static string GetDeclName(Declaration decl, string name)
201201
return name;
202202
}
203203

204+
public Declaration AssociatedDeclaration { get; set; }
205+
204206
// Comment associated with declaration.
205207
public RawComment Comment;
206208

src/AST/Function.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,6 @@ public QualifiedType OriginalReturnType
248248
public string Signature { get; set; }
249249
public string Body { get; set; }
250250

251-
/// <summary>
252-
/// Field associated in case of synthetized field acessors.
253-
/// </summary>
254-
public Field Field { get; set; }
255-
256251
public override T Visit<T>(IDeclVisitor<T> visitor)
257252
{
258253
return visitor.VisitFunctionDecl(this);

0 commit comments

Comments
 (0)