mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
ASTdoc: do not document private fields
Change-Id: I727f377f9aea080d2fd9337364a8f9d4f5ef5c3b TN: P404-023
This commit is contained in:
@@ -35,7 +35,7 @@ def write_astdoc(context, file):
|
||||
# If this is not ASTNode, get the parent class
|
||||
bases = list(typ.get_inheritance_chain())
|
||||
base = bases[-2] if len(bases) > 1 else None
|
||||
abs_fields = list(typ.get_abstract_fields())
|
||||
abs_fields = list(typ.get_abstract_fields(lambda f: not f.is_private))
|
||||
|
||||
print >> file, '{}node {}{}{}'.format(
|
||||
'abstract ' if typ.abstract else '',
|
||||
|
||||
Reference in New Issue
Block a user