Yes it has, but comment property is returned only for doc comments that
begins with /*** and they are bound to symbols.
So you'll never get in parser regular comments.

To implement syntax highlight i need to have them as tokens at lexical
analysis stage (Scanner class in libvala).

Comments has meaning only at lexical analysis stage, so we can highlight
them. But

On Sat, Jun 18, 2011 at 9:55 PM, Luca Bruno <lethalma...@gmail.com> wrote:

> On Sat, Jun 18, 2011 at 09:51:10PM +0400, Maga Abdurakhmanov wrote:
> > >
> > >
> > > Comments are inside ast nodes, look better.
> > >
> >
> > There are only some of the comments inside ast nodes (valadoc and first
> > comment in file). To highlight syntax i need to get all of them as
> tokens.
>
> Vala.Symbol has a comment property, are you referring to statements?
>
> --
> http://www.debian.org - The Universal Operating System
>



-- 
Sincerely,
Magomed
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to