|
Orocos Real-Time Toolkit
2.5.0
|
Parsers and executes any RTT script you throw at it. More...
#include <rtt/scripting/ScriptParser.hpp>
Public Member Functions | |
| ScriptParser (iter_t &positer, TaskContext *tc, ExecutionEngine *caller) | |
| Initialize with an initial position, the TaskContext in which context to parse the scripts and the TaskContext that will call the parse() functions. | |
| void | parse (iter_t &begin, iter_t end) |
| Parses and executes the script from begin to end. | |
| base::DataSourceBase::shared_ptr | parseExcerpt (iter_t &begin, iter_t end) |
| Parses and executes a (possibly) incomplete script. | |
Parsers and executes any RTT script you throw at it.
Definition at line 21 of file ScriptParser.hpp.
| void RTT::ScriptParser::parse | ( | iter_t & | begin, |
| iter_t | end | ||
| ) |
Parses and executes the script from begin to end.
The script must be complete and well formed.
| parse_exception | or one of its variants in case of wrong input |
Definition at line 159 of file ScriptParser.cpp.
References RTT::scripting::CommonParser::skipper, and RTT::scripting::StateGraphParser::storeOffset().
| base::DataSourceBase::shared_ptr RTT::scripting::ScriptParser::parseExcerpt | ( | iter_t & | begin, |
| iter_t | end | ||
| ) |
Parses and executes a (possibly) incomplete script.
| parse_exception | or one of its variants in case of wrong input |
1.7.6.1