Browse Source

Generalized method fields to declaration associations.

pull/1005/head
Joao Matos 8 years ago
parent
commit
426572bc8a
  1. 2
      src/AST/Declaration.cs
  2. 5
      src/AST/Function.cs

2
src/AST/Declaration.cs

@ -201,6 +201,8 @@ namespace CppSharp.AST @@ -201,6 +201,8 @@ namespace CppSharp.AST
return name;
}
public Declaration AssociatedDeclaration { get; set; }
// Comment associated with declaration.
public RawComment Comment;

5
src/AST/Function.cs

@ -248,11 +248,6 @@ namespace CppSharp.AST @@ -248,11 +248,6 @@ namespace CppSharp.AST
public string Signature { get; set; }
public string Body { get; set; }
/// <summary>
/// Field associated in case of synthetized field acessors.
/// </summary>
public Field Field { get; set; }
public override T Visit<T>(IDeclVisitor<T> visitor)
{
return visitor.VisitFunctionDecl(this);

Loading…
Cancel
Save