#include <ScriptParser.hpp>
Public Member Functions | |
void | parse (iter_t &begin, iter_t end) |
base::DataSourceBase::shared_ptr | parseExcerpt (iter_t &begin, iter_t end) |
ScriptParser (iter_t &positer, TaskContext *tc, ExecutionEngine *caller) | |
~ScriptParser () | |
Private Member Functions | |
void | clear () |
error_status | handle_no_function (scanner_t const &scan, parser_error< std::string, iter_t > &e) |
void | seenfunction () |
void | seenprogram () |
void | seenstatemachine () |
void | seenstatement () |
Parsers and executes any RTT script you throw at it.
Definition at line 59 of file ScriptParser.hpp.
RTT::ScriptParser::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.
Definition at line 84 of file ScriptParser.cpp.
RTT::ScriptParser::~ScriptParser | ( | ) |
Definition at line 260 of file ScriptParser.cpp.
|
private |
Definition at line 269 of file ScriptParser.cpp.
|
private |
Definition at line 75 of file ScriptParser.cpp.
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 206 of file ScriptParser.cpp.
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 |
|
private |
Definition at line 177 of file ScriptParser.cpp.
|
private |
Definition at line 153 of file ScriptParser.cpp.
|
private |
Definition at line 184 of file ScriptParser.cpp.
|
private |
Definition at line 123 of file ScriptParser.cpp.
|
private |
Definition at line 64 of file ScriptParser.hpp.
|
private |
Definition at line 79 of file ScriptParser.hpp.
|
private |
Definition at line 62 of file ScriptParser.hpp.
|
private |
Definition at line 76 of file ScriptParser.hpp.
|
private |
Definition at line 70 of file ScriptParser.hpp.
|
private |
Definition at line 67 of file ScriptParser.hpp.
|
private |
Definition at line 73 of file ScriptParser.hpp.
|
private |
Definition at line 75 of file ScriptParser.hpp.
|
private |
Definition at line 71 of file ScriptParser.hpp.
|
private |
Definition at line 81 of file ScriptParser.hpp.
|
private |
Definition at line 68 of file ScriptParser.hpp.
|
private |
Definition at line 77 of file ScriptParser.hpp.
|
private |
Definition at line 74 of file ScriptParser.hpp.
|
private |
Definition at line 82 of file ScriptParser.hpp.
|
private |
Definition at line 80 of file ScriptParser.hpp.
|
private |
Definition at line 66 of file ScriptParser.hpp.