[Github-comments] [geany/geany] New tagmanager query module (#1187)
Thomas Martitz
notifications at xxxxx
Sat Aug 27 19:30:07 UTC 2016
> + else
> + s = g_string_new_len(name, name_len);
> +
> + g_ptr_array_add(q->names, s);
> +
> + return 0;
> +}
> +
> +
> +/* Add scope filter to a query
> + *
> + * The query results will be restricted to tags that are subordenates of
> + * a container scope matching @a scope, for example a C++ class.
> + *
> + * @param q The query to operate on.
> + * @param scope The name of the container or parent scope.
Full, delimited string:
```
namespace Foo {
namespace Bar {
class Baz
{
public:
static int getA() { return 42; }
};
};
};
```
tag->name -> getA
tag->scope -> Foo::Bar::Baz
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1187/files/8aec5203ae9f4d5eb3e9b1d36b6a4ef25e01b121#r76521239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160827/4fa1ffb6/attachment.html>
More information about the Github-comments
mailing list