Bug 581685: Parse parameterized types (using <>) in annotations.
authorC. Scott Ananian <cscott@litl.com>
Fri, 12 Jun 2009 14:57:38 +0000 (10:57 -0400)
committerC. Scott Ananian <cscott@litl.com>
Fri, 12 Jun 2009 15:24:47 +0000 (11:24 -0400)
commitc5dedb9cf43110990ef788e468cf23aef0cf83fb
tree9cd8e5bccb734f8466d052d2f04a46bde076d6d4
parentdb214ed923cfe9fc75432d5338e8a3b0d9c83d25
Bug 581685: Parse parameterized types (using <>) in annotations.

You can now specify a nested parameterized type in annotations as
(for example):
  @param: (type GLib.HashTable<utf8,GLib.HashTable<utf,utf>>)
or
  @param: (element-type utf8 GLib.HashTable<utf,utf>)

New test functions for the Everything typelib show how it works.
gir/Everything-1.0-expected.gir
gir/everything.c
gir/everything.h
giscanner/annotationparser.py
giscanner/ast.py