Orocos Real-Time Toolkit
2.6.0
|
How we parse: this parser works like a stack-based RPN calculator. More...
#include <rtt/scripting/ExpressionParser.hpp>
Public Member Functions | |
ExpressionParser (TaskContext *pc, ExecutionEngine *caller, CommonParser &common_parser) | |
rule_t & | parser () |
base::DataSourceBase::shared_ptr | getResult () |
boost::shared_ptr < base::AttributeBase > | getHandle () |
In case the parsed result returns a SendHandle, ask the parser to also create a handle for it. | |
void | dropResult () |
bool | hasResult () |
How we parse: this parser works like a stack-based RPN calculator.
An atomic expression pushes one internal::DataSource up the stack, a binary expression pops two DataSources, and pushes a new one, a unary pops one, and pushes one etc. This allows for the reentrancy we need..
Definition at line 140 of file ExpressionParser.hpp.
boost::shared_ptr< AttributeBase > RTT::ExpressionParser::getHandle | ( | ) |
In case the parsed result returns a SendHandle, ask the parser to also create a handle for it.
Definition at line 588 of file ExpressionParser.cpp.