Skip to content

Commit

Permalink
Documented public instance variables (fields).
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dobrev <[email protected]>
  • Loading branch information
ddobrev committed Sep 6, 2015
1 parent 4f2e8af commit 3e233ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified CppSharp Qt plan.odt
Binary file not shown.
8 changes: 7 additions & 1 deletion QtSharp/Documentation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ public void DocumentProperty(Property property)
property.Comment = comment;
}
}
else
{
property.LineNumberStart = property.Field.LineNumberStart;
property.LineNumberEnd = property.Field.LineNumberEnd;
this.DocumentVariable(property);
}
}

private void DocumentQtProperty(Declaration property)
Expand Down Expand Up @@ -465,7 +471,7 @@ from code in member.Descendants("code")
}
}

public void DocumentVariable(Variable variable)
public void DocumentVariable(Declaration variable)
{
var lineStart = variable.LineNumberStart.ToString();
var lineEnd = variable.LineNumberEnd.ToString();
Expand Down

0 comments on commit 3e233ab

Please sign in to comment.