Oops, hit send by accident..

On 10/13/14, 9:56 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>>
>FalconJX should properly parse this construct. That will be challenging
>though, as we’d need to look forward in the AST and then handle these
>multiple catch blocks and turn them into a proper set of ‘if … then’
>statement in a single catch block.
Not sure what you mean by “forward”, but there are other places in Falcon
where we examine a node’s children.  I’m not sure if there is any place we
do serious AST re-writing as a result, but this sounds like a good place
to do it.

>
>Also, how “heavy” is this problem?  Are the catch nodes children of the
>> try node?  If so, could we just rewrite the AST there?
>>
>
>Actually, hoping to get a blessing for rewriting the SDK, I didn’t look at
>the AST at all :-)
Again, ok with me, but won’t help some customer that has used this pattern
extensively.

-Alex

Reply via email to