RTT::detail::ProgramGraphParser Class Reference

A Parser for Orocos Program Scripts. More...

#include <rtt/scripting/ProgramGraphParser.hpp>

List of all members.

Public Member Functions

 ProgramGraphParser (iter_t &positer, TaskContext *, CommonParser &)
std::vector< ProgramInterfacePtr > parse (iter_t &begin, iter_t end)
 Tries to parse programs, returns the generated programs on success.
std::vector< ProgramInterfacePtr > parseFunction (iter_t &begin, iter_t end)
void initBodyParser (const std::string &name, OperationInterface *stck, int offset)
rule_t & bodyParser ()
ProgramInterfacePtr bodyParserResult ()

Detailed Description

A Parser for Orocos Program Scripts.

This class does the actual work. It generates a Program, by constructing the ProgramNode's. We just go over the code one single time, and construct the Program as we go. For every statement, we construct a new ProgramNode, and fill it up as we get the information we need.

Definition at line 68 of file ProgramGraphParser.hpp.


Member Function Documentation

std::vector<ProgramInterfacePtr> RTT::detail::ProgramGraphParser::parse ( iter_t &  begin,
iter_t  end 
)

Tries to parse programs, returns the generated programs on success.

Exceptions:
file_parse_exception The parser found an error.

The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:47 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3