RTT::detail::ExpressionParser Class Reference

How we parse: this parser works like a stack-based RPN calculator. More...

#include <rtt/scripting/ExpressionParser.hpp>

List of all members.

Public Member Functions

 ExpressionParser (TaskContext *pc, CommonParser &common_parser)
rule_t & parser ()
DataSourceBase::shared_ptr getResult ()
void dropResult ()
bool hasResult ()

Detailed Description

How we parse: this parser works like a stack-based RPN calculator.

An atomic expression pushes one 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 107 of file ExpressionParser.hpp.


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