#include <ScriptParser.hpp>
Parsers and executes any RTT script you throw at it.
Definition at line 21 of file install/include/rtt/scripting/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 41 of file ScriptParser.cpp.
RTT::ScriptParser::~ScriptParser | ( | ) |
Definition at line 209 of file ScriptParser.cpp.
RTT::scripting::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.
RTT::scripting::ScriptParser::~ScriptParser | ( | ) |
void RTT::scripting::ScriptParser::clear | ( | ) | [private] |
void RTT::ScriptParser::clear | ( | ) | [private] |
Definition at line 217 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 |
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.
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 |
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 |
void RTT::scripting::ScriptParser::seenfunction | ( | ) | [private] |
void RTT::ScriptParser::seenfunction | ( | ) | [private] |
Definition at line 130 of file ScriptParser.cpp.
void RTT::scripting::ScriptParser::seenprogram | ( | ) | [private] |
void RTT::ScriptParser::seenprogram | ( | ) | [private] |
Definition at line 106 of file ScriptParser.cpp.
void RTT::scripting::ScriptParser::seenstatemachine | ( | ) | [private] |
void RTT::ScriptParser::seenstatemachine | ( | ) | [private] |
Definition at line 137 of file ScriptParser.cpp.
void RTT::scripting::ScriptParser::seenstatement | ( | ) | [private] |
void RTT::ScriptParser::seenstatement | ( | ) | [private] |
Definition at line 76 of file ScriptParser.cpp.
ExecutionEngine * RTT::scripting::ScriptParser::caller [private] |
Definition at line 26 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 41 of file install/include/rtt/scripting/ScriptParser.hpp.
TaskContext * RTT::scripting::ScriptParser::context [private] |
Definition at line 24 of file install/include/rtt/scripting/ScriptParser.hpp.
rule_t RTT::scripting::ScriptParser::function [private] |
Definition at line 38 of file install/include/rtt/scripting/ScriptParser.hpp.
int RTT::scripting::ScriptParser::ln_offset [private] |
Definition at line 32 of file install/include/rtt/scripting/ScriptParser.hpp.
our_pos_iter_t & RTT::scripting::ScriptParser::mpositer [private] |
Definition at line 29 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 35 of file install/include/rtt/scripting/ScriptParser.hpp.
rule_t RTT::scripting::ScriptParser::program [private] |
Definition at line 37 of file install/include/rtt/scripting/ScriptParser.hpp.
std::string RTT::scripting::ScriptParser::program_text [private] |
Definition at line 33 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 43 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 30 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 39 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 36 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 42 of file install/include/rtt/scripting/ScriptParser.hpp.
Definition at line 28 of file install/include/rtt/scripting/ScriptParser.hpp.