Hi Ahmed

I have to say, that I don't use the velocity API, I basically scan the files
for #foreach, #end and ${.*} or $!{.*} Expressions and list them in the
outputfile. When I have time (probably next month) I will look into the
velocity API. If I can use it I won't have to implement the grammar myself.

Greetings

Simon

On Mon, May 12, 2008 at 5:32 PM, Ahmed Mohombe <[EMAIL PROTECTED]> wrote:

> I think it has to know this because if you have for example #foreach($day
> > in
> > ${days}) you don't want to include the variable ${day} in the list but
> > rather ${days}.
> > Do you agree with me?
> >
> Of course.
> I just thought that the Velocity AST is able to distinct between "local
> variabls" like
> $day and "global" ones.
>
>
> Ahmed.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to