[swift-dev] Consider removing the space in Swift AST dump's "decl" attribute?

Dmitri Gribenko gribozavr at gmail.com
Mon May 9 11:09:48 CDT 2016

On Sun, May 8, 2016 at 8:22 PM, Minsheng Liu via swift-dev
<swift-dev at swift.org> wrote:
> Hi,
> I notice that currently the dumped AST contains a parsing-unfriendly “decl”
> attribute like this:
>> decl=fib.(file).func decl.b at fib.swift:4:9

Dumped AST is not meant to be machine parseable.  The format is
subject to change (and it does frequently change).  Please don't parse
it, your tools will break with new compiler releases.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the swift-dev mailing list