|
Boost Users : |
Subject: [Boost-users] Tree traversal in boost spirit
From: Olivier Austina (olivier.austina_at_[hidden])
Date: 2013-09-29 14:12:33
Hi,
I would like to traverse a parsed tree. The parsing is fine. I am using
this tutorial :
http://en.highscore.de/cpp/boost/parser.html
This is the instruction used for parsing :
boost::spirit::parse_info<> pi = boost::spirit::parse(data.c_str(), g,
boost::spirit::space_p);
I would like to traverse the parsed tree like classical tree
(Pre-order, In-order, Post-order) to have data in a
given order. Any suggestion will be appreciated. Thank you.
Regards
Olivier
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