Re: [Vala] Getting all the symbols from my code

2016-05-07 Thread Al Thomas
> From: Dmitry Golovin > Sent: Saturday, 7 May 2016, 9:01 > Subject: [Vala] Getting all the symbols from my code > > I want to have a list of all the symbols from my code. > > First I create a CodeContext, then I add all the external packages and source > files, then visit

[Vala] Getting all the symbols from my code

2016-05-07 Thread Dmitry Golovin
Hi! I want to have a list of all the symbols from my code. First I create a CodeContext, then I add all the external packages and source files, then visit each file with a Parser. Then I do this: foreach (var src in context.get_source_files()) { print("\n" +