[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: token filters - ability to 'get' expressions, function bodies, ..
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 26 Oct 2006 07:51:44 -0300
> Could the LHF/Silverstone token filter approach be
> extended to allow:
> - getting the following expression (not just a token)
> - getting the following function body
> - ...
Not really. The filtering scheme only works on the token stream; it
knows nothing about syntax. The best you can do is to could parentheses
and blocks. Or add some kind of mark to end complex constructs.