Re: [Vala] Where does Vala.Paraser create code nodes?
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Where does Vala.Paraser create code nodes?
- Date: Thu, 21 Nov 2013 09:26:57 +0100
On 21/11/2013 01:54, Christian Johnson wrote:
Hi all!
I've been mucking around in the vala source code, and I got a little stuck.
I can't find where Vala.Parser actually creates the code nodes. According to
https://wiki.gnome.org/Vala/Hacking#Back_to_the_Parser:
"However the Parser calls back to the context and uses it to create code
nodes (mentioned before), then adds these code nodes into the context's root
code node."
But where does it call back to the context? The only places I've found it
simply calls the context to get a property value, not set anything.
Yes that phrase is wrong. Context does not create code nodes. The parser
creates code nodes everywhere, new Vala.Method... new Vala.Parameter,
new.... about every "new" in valaparser.vala creates a code node.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]