This is not a parser in the Boost.spirit sense of the word, it's just a class used to hold the parser and semantic actions. More...
#include <rtt/scripting/StateGraphParser.hpp>
Public Member Functions | |
StateGraphParser (iter_t &positer, TaskContext *tc) | |
std::vector < ParsedStateMachinePtr > | parse (iter_t &begin, iter_t end) |
This is not a parser in the Boost.spirit sense of the word, it's just a class used to hold the parser and semantic actions.
This class does the actual work. It generates a Finite State Graph, by constructing the State nodes. We just go over the code one single time, and construct the FSM as we go. For every statement, we construct a new GraphNode, and fill it up as we get the information we need.
Definition at line 80 of file StateGraphParser.hpp.