summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
authorMathieu Duponchelle <mduponchelle1@gmail.com>2020-07-22 21:36:59 +0000
committerMathieu Duponchelle <mduponchelle1@gmail.com>2020-07-22 21:36:59 +0000
commit6da80b312e410ee7c3b24e7176b3f07e30225ac5 (patch)
treed18c601435601c3ebadd87721ae583d99fbb57a7 /giscanner/ast.py
parent46d32c596cc41fd66036c648aca4900058072749 (diff)
parentb8c92fddbfbadc910ef0c0c6c65bd5648b8e86ca (diff)
downloadgobject-introspection-6da80b312e410ee7c3b24e7176b3f07e30225ac5.tar.gz
Merge branch 'standalone-doc-sections' into 'master'
Add the notion of standalone doc sections. See merge request GNOME/gobject-introspection!226
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 66fe0cf1..593969f2 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -660,6 +660,11 @@ GIName. It's possible for nodes to contain or point to other nodes."""
pass
+class DocSection(Node):
+ def __init__(self, name=None):
+ Node.__init__(self, name)
+
+
class Registered:
"""A node that (possibly) has gtype_name and get_type."""
def __init__(self, gtype_name, get_type):