Boost logo

Boost Users :

From: elviin (elviin_at_[hidden])
Date: 2006-01-28 06:43:06


"[...]subnodes containing primitive parser matches[...]" That's what I
wanted to know.

Thank you, Harmut, for your reply.

On 28/01/06, Hartmut Kaiser <hartmut.kaiser_at_[hidden]> wrote:
>
> Elviin wrote:
>
> > Before I'll investigate more I'd like to know if anybody
> > knows why it is not allowed a rule object inside this
> > directive: token_node_d.
>
> The purpose of the token_node_id[] directive is to keep together in a node
> all of the subnodes containing primitive parser matches (such as single
> characters, strings or integers) and to create a single node containing the
> full matched character sequence as a single string. The token_node_id[]
> directive does not work recursive but works only for a flat subnode
> structure not containing sub-subnodes.
>
> Rules OTOH (may) produce arbitrary deep hierarchical subnode structures.
>
> Regards Hartmut
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net